Index: head/security/vpnc/Makefile =================================================================== --- head/security/vpnc/Makefile (revision 197259) +++ head/security/vpnc/Makefile (revision 197260) @@ -1,56 +1,56 @@ # New ports collection makefile for: vpnc # Date created: 15 December 2003 # Whom: Christian Lackas # # $FreeBSD$ # PORTNAME= vpnc PORTVERSION= 0.4.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://www.unix-ag.uni-kl.de/~massar/vpnc/ MAINTAINER= delta@lackas.net COMMENT= Client for Cisco 3000 VPN Concentrator LIB_DEPENDS= gcrypt.13:${PORTSDIR}/security/libgcrypt USE_GMAKE= yes ALL_TARGET= vpnc USE_RC_SUBR= vpnc USE_PERL5_BUILD= yes PLIST_FILES= sbin/vpnc \ sbin/vpnc-script \ sbin/vpnc-disconnect \ etc/vpnc.conf.sample PORTDOCS= README TODO MAN8= vpnc.8 .include post-patch: @${REINPLACE_CMD} -e \ 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/config.c @${REINPLACE_CMD} -e \ 's|%%PREFIX%%|${PREFIX}|;s|%%CC%%|${CC}|;s|%%CFLAGS%%|${CFLAGS}|' \ ${WRKSRC}/Makefile do-install: @${INSTALL_PROGRAM} -m 751 ${WRKSRC}/vpnc ${PREFIX}/sbin/vpnc @${INSTALL_SCRIPT} -m 751 ${WRKSRC}/vpnc-script ${PREFIX}/sbin/vpnc-script @${INSTALL_SCRIPT} -m 751 ${WRKSRC}/vpnc-disconnect ${PREFIX}/sbin/vpnc-disconnect @${INSTALL_DATA} -m 600 ${WRKSRC}/vpnc.conf ${PREFIX}/etc/vpnc.conf.sample .if !defined(NO_INSTALL_MANPAGES) @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/vpnc.8 @${INSTALL_MAN} ${WRKSRC}/vpnc.8 ${PREFIX}/man/man8 .endif .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif .include Property changes on: head/security/vpnc/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.24 \ No newline at end of property +1.25 \ No newline at end of property Index: head/security/vpnc/files/patch-Makefile =================================================================== --- head/security/vpnc/files/patch-Makefile (revision 197259) +++ head/security/vpnc/files/patch-Makefile (revision 197260) @@ -1,20 +1,21 @@ ---- Makefile.orig Tue Mar 13 15:58:08 2007 -+++ Makefile Tue Mar 13 15:59:50 2007 +--- ./Makefile.orig 2007-02-19 21:51:12.000000000 +0100 ++++ ./Makefile 2007-07-24 16:45:36.000000000 +0200 @@ -20,7 +20,7 @@ - # $Id: patch-Makefile,v 1.5 2007/03/13 15:30:29 lackas Exp $ + # $Id: Makefile 148 2007-02-19 20:51:14Z Maurice Massar $ DESTDIR= -PREFIX=/usr/local +PREFIX=%%PREFIX%% ETCDIR=/etc/vpnc BINDIR=$(PREFIX)/bin SBINDIR=$(PREFIX)/sbin -@@ -34,7 +34,7 @@ +@@ -34,8 +34,7 @@ VERSION := $(shell sh mk-version) RELEASE_VERSION := $(shell cat VERSION) -CC=gcc +-CFLAGS += -W -Wall -O3 -Wmissing-declarations -Wwrite-strings -g +CC=%%CC%% - CFLAGS += -W -Wall -O3 -Wmissing-declarations -Wwrite-strings -g CPPFLAGS = -DVERSION=\"$(VERSION)\" LDFLAGS = -g $(shell libgcrypt-config --libs) + CFLAGS += $(shell libgcrypt-config --cflags) Property changes on: head/security/vpnc/files/patch-Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property