Index: head/net/exabgp/Makefile =================================================================== --- head/net/exabgp/Makefile (revision 386913) +++ head/net/exabgp/Makefile (revision 386914) @@ -1,50 +1,47 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= exabgp PORTVERSION= 3.4.8 CATEGORIES= net MASTER_SITES= GH \ http://mirrors.rit.edu/zi/ MAINTAINER= zi@FreeBSD.org COMMENT= BGP engine and route injector LICENSE= BSD3CLAUSE USE_GITHUB= yes GH_ACCOUNT= Exa-Networks USES= tar:tgz python:2 SUB_FILES= pkg-message exabgp.sh SUB_LIST= PYTHON_LIBDIR=${PYTHON_LIBDIR} PYTHON_CMD=${PYTHON_CMD} \ PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} USE_RC_SUBR= ${PORTNAME} USERS= _bgpd GROUPS= _bgpd OPTIONS_DEFINE= EXAMPLES .include post-extract: @${MV} -f ${WRKSRC}/etc/systemd ${WRKSRC} do-build: ${PYTHON_CMD} -m compileall ${WRKSRC}/lib do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} ${STAGEDIR}${ETCDIR} (cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}) .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/etc && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .endif ${CP} ${FILESDIR}/exabgp.env ${STAGEDIR}${ETCDIR}/exabgp.env.sample -post-install: - @${CAT} ${PKGMESSAGE} - .include Index: head/net/exaddos/Makefile =================================================================== --- head/net/exaddos/Makefile (revision 386913) +++ head/net/exaddos/Makefile (revision 386914) @@ -1,43 +1,40 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= exaddos PORTVERSION= 0.4.0 CATEGORIES= net MASTER_SITES= http://mirrors.rit.edu/zi/ EXTRACT_SUFX= .tgz MAINTAINER= zi@FreeBSD.org COMMENT= Monitor your network for DDoS LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}snmp4-mibs>=0.1.4:${PORTSDIR}/net-mgmt/py-snmp4-mibs \ ${PYTHON_PKGNAMEPREFIX}snmp4>=4.2.3:${PORTSDIR}/net-mgmt/py-snmp4 USE_GITHUB= yes GH_ACCOUNT= Exa-Networks USES= python SUB_FILES= pkg-message exaddos.sh exaddos.conf.sample SUB_LIST= PYTHON_LIBDIR=${PYTHON_LIBDIR} PYTHON_CMD=${PYTHON_CMD} \ PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} USE_RC_SUBR= ${PORTNAME} USERS= ${PORTNAME} GROUPS= ${PORTNAME} do-build: @${PYTHON_CMD} -m compileall ${WRKSRC}/lib do-install: @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} ${STAGEDIR}${ETCDIR} @(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}) @(cd ${WRKSRC}/data/${PORTNAME} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/www/${PORTNAME}) @${INSTALL_DATA} ${WRKDIR}/exaddos.conf.sample \ ${STAGEDIR}${ETCDIR} -post-install: - @${CAT} ${PKGMESSAGE} - .include Index: head/net/kippo/Makefile =================================================================== --- head/net/kippo/Makefile (revision 386913) +++ head/net/kippo/Makefile (revision 386914) @@ -1,42 +1,39 @@ # Created by: Frederic Culot # $FreeBSD$ PORTNAME= kippo PORTVERSION= 0.8 CATEGORIES= net MASTER_SITES= GOOGLE_CODE MAINTAINER= culot@FreeBSD.org COMMENT= Medium interaction ssh honeypot LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto \ ${PYTHON_PKGNAMEPREFIX}zope.interface>0:${PORTSDIR}/devel/py-zope.interface RUN_DEPENDS:= ${BUILD_DEPENDS} USES= python twisted:run,conch,web NO_BUILD= yes USE_RC_SUBR= kippo USERS= kippo GROUPS= kippo SUB_FILES= pkg-message SUB_LIST+= PYTHON=${PYTHON_CMD} do-install: @${MKDIR} ${STAGEDIR}${DATADIR} .for f in kippo.cfg kippo.tac fs.pickle @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR} .endfor .for d in data doc honeyfs kippo txtcmds utils @${MKDIR} ${STAGEDIR}${DATADIR}/${d} @(cd ${WRKSRC}/${d}/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/${d}) .endfor -post-install: - @${CAT} ${PKGMESSAGE} - .include Index: head/net/micro_proxy/Makefile =================================================================== --- head/net/micro_proxy/Makefile (revision 386913) +++ head/net/micro_proxy/Makefile (revision 386914) @@ -1,29 +1,26 @@ # Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= micro_proxy PORTVERSION= 20021030 CATEGORIES= net MASTER_SITES= http://www.acme.com/software/micro_proxy/ \ LOCAL/ehaupt DISTNAME= ${PORTNAME}_30oct2002 MAINTAINER= ehaupt@FreeBSD.org COMMENT= Really small HTTP/HTTPS proxy WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= libexec/micro_proxy man/man8/micro_proxy.8.gz SUB_FILES= pkg-message do-build: ${CC} ${CFLAGS} -c ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}.o ${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.o -o ${WRKSRC}/${PORTNAME} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8 -post-install: - @${CAT} ${PKGMESSAGE} - .include Index: head/net/mosh/Makefile =================================================================== --- head/net/mosh/Makefile (revision 386913) +++ head/net/mosh/Makefile (revision 386914) @@ -1,45 +1,42 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= mosh PORTVERSION= 1.2.4 PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://mosh.mit.edu/ \ http://mirrors.rit.edu/zi/ MAINTAINER= zi@FreeBSD.org COMMENT= Mobile terminal that supports intermittent connectivity LICENSE= GPLv3 LIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf USE_PERL5= run GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-utempter --without-ncurses CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \ TINFO_CFLAGS="-I/usr/include" INSTALL_TARGET= install-strip USE_OPENSSL= yes USES= pkgconfig perl5 LATEST_LINK= mosh-term CONFLICTS_INSTALL= mosh-0.[2-9].* PLIST_FILES= bin/mosh bin/mosh-server bin/mosh-client \ man/man1/mosh-client.1.gz man/man1/mosh-server.1.gz man/man1/mosh.1.gz .include .if ${OSVERSION} < 900004 LIB_DEPENDS+= libutempter.so:${PORTSDIR}/sysutils/libutempter CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .endif -post-install: - @${CAT} ${PKGMESSAGE} - .include Index: head/net/netatalk3/Makefile =================================================================== --- head/net/netatalk3/Makefile (revision 386913) +++ head/net/netatalk3/Makefile (revision 386914) @@ -1,160 +1,159 @@ # Created by: stb # $FreeBSD$ PORTNAME= netatalk PORTVERSION= 3.1.7 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= SF PKGNAMESUFFIX= 3 MAINTAINER= marcus@FreeBSD.org COMMENT= File server for Mac OS X LICENSE= GPLv2 LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \ libevent.so:${PORTSDIR}/devel/libevent2 USE_BDB= 5+ USES= iconv gmake pkgconfig perl5 libtool tar:bzip2 GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_RC_SUBR= netatalk CONFIGURE_ARGS+= --with-pkgconfdir=${PREFIX}/etc \ --with-libgcrypt-dir=${LOCALBASE} \ --with-uams-path=${PREFIX}/libexec/netatalk-uams \ --with-bdb=${LOCALBASE} \ ${ICONV_CONFIGURE_BASE} \ --localstatedir=/var \ --disable-bundled-libevent \ --with-libevent-header=${LOCALBASE}/include \ --with-libevent-lib=${LOCALBASE}/lib OPTIONS_DEFINE=PAM KRB5 LDAP SENDFILE KERBEROS DBUS MYSQL ACL TCPWRAP OPTIONS_DEFAULT=KERBEROS DBUS TCPWRAP OPTIONS_RADIO=ZEROCONF OPTIONS_RADIO_ZEROCONF=AVAHI MDNSRESPONDER OPTIONS_DEFAULT+=AVAHI NOZEROCONF_DESC=Disable Zeroconf(Bonjour) support KRB5_DESC= Enable Kerberos V UAM #DTRACE_DESC= Enable DTrace support MYSQL_DESC= Enable MySQL CNID backend support SENDFILE_DESC= Enable Sendfile support ACL_DESC= Enable ACL support TCPWRAP_DESC= Enable TCP Wrappers support .include CONFLICTS= bigloo-2.* cap-6.0.* tct-1.* netatalk-[12]* yudit-[0-9]* .if ${PORT_OPTIONS:MKRB5} CONFIGURE_ARGS+= --enable-krbV-uam PLIST_SUB+= NETATALKKRB5="" .else PLIST_SUB+= NETATALKKRB5="@comment " .endif .if ${PORT_OPTIONS:MDTRACE} CONFIGURE_ARGS+= --with-dtrace .else CONFIGURE_ARGS+= --without-dtrace .endif .if ${PORT_OPTIONS:MKERBEROS} CONFIGURE_ARGS+= --with-kerberos .else CONFIGURE_ARGS+= --without-kerberos .endif .if ${PORT_OPTIONS:MPAM} CONFIGURE_ARGS+= --with-pam PLIST_SUB+= NETATALKPAM="" .else CONFIGURE_ARGS+= --without-pam PLIST_SUB+= NETATALKPAM="@comment " .endif .if ${PORT_OPTIONS:MNOZEROCONF} CONFIGURE_ARGS+= --disable-zeroconf SUB_LIST+= ZEROCONF="" .endif .if ${PORT_OPTIONS:MAVAHI} CONFIGURE_ARGS+= --enable-zeroconf=${LOCALBASE} CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app SUB_LIST+= ZEROCONF="avahi_daemon" .endif .if ${PORT_OPTIONS:MMDNSRESPONDER} CONFIGURE_ARGS+= --enable-zeroconf=${LOCALBASE} CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib LIB_DEPENDS+= libdns_sd.so:${PORTSDIR}/net/mDNSResponder SUB_LIST+= ZEROCONF="mdnsd" .endif .if ${PORT_OPTIONS:MLDAP} CONFIGURE_ARGS+= --with-ldap=${LOCALBASE} CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib USE_OPENLDAP= yes .else CONFIGURE_ARGS+= --without-ldap .endif .if ${PORT_OPTIONS:MSENDFILE} CONFIGURE_ARGS+= --enable-sendfile .else CONFIGURE_ARGS+= --disable-sendfile .endif .if ${PORT_OPTIONS:MDBUS} || exists(${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc) LIB_DEPENDS+= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-python.pc:${PORTSDIR}/devel/pydbus-common PLIST_SUB+= DBUS="" .else PLIST_SUB+= DBUS="@comment " .endif .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes .else CONFIGURE_ARGS+=--with-mysql-config=/nonexistent .endif .if ${PORT_OPTIONS:MACL} LIB_DEPENDS+= libsunacl.so:${PORTSDIR}/sysutils/libsunacl CONFIGURE_ARGS+=--with-acls .else CONFIGURE_ARGS+=--without-acls .endif .if ${PORT_OPTIONS:MTCPWRAP} CONFIGURE_ARGS+=--enable-tcp-wrappers .else CONFIGURE_ARGS+=--disable-tcp-wrappers .endif post-patch: @${REINPLACE_CMD} -e 's|%%DB_NAME%%|${BDB_INCLUDE_DIR:T}| ; \ s|%%DB_LIB%%|-l${BDB_LIB_NAME}|g ; \ s|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/configure post-stage: @${RM} -f ${STAGEDIR}${PREFIX}/etc/afp.conf \ ${STAGEDIR}${PREFIX}/etc/extmap.conf post-install: ${INSTALL_SCRIPT} ${WRKSRC}/contrib/macusers/macusers \ ${STAGEDIR}${PREFIX}/bin/macusers [ -f ${STAGEDIR}${PREFIX}/etc/afp.conf ] || \ ${INSTALL_DATA} -c ${STAGEDIR}${PREFIX}/etc/afp.conf.dist ${STAGEDIR}${PREFIX}/etc/afp.conf [ -f ${STAGEDIR}${PREFIX}/etc/extmap.conf ] || \ ${INSTALL_DATA} -c ${STAGEDIR}${PREFIX}/etc/extmap.conf.dist ${STAGEDIR}${PREFIX}/etc/extmap.conf - @${CAT} ${PKGMESSAGE} .include Index: head/net/nss-pam-ldapd/Makefile =================================================================== --- head/net/nss-pam-ldapd/Makefile (revision 386913) +++ head/net/nss-pam-ldapd/Makefile (revision 386914) @@ -1,125 +1,122 @@ # Created by: melifaro@ipfw.ru # $FreeBSD$ PORTNAME= nss-pam-ldapd PORTVERSION= 0.8.14 PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://arthurdejong.org/nss-pam-ldapd/ \ http://mirrors.rit.edu/zi/ MAINTAINER?= zi@FreeBSD.org COMMENT?= Advanced fork of nss_ldap LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual USES= cpe CPE_VENDOR= arthurdejong GNU_CONFIGURE= yes USE_OPENLDAP= yes USE_RC_SUBR= nslcd PAM_LDAP_SHMAJOR= 1 NSS_LDAP_SHMAJOR= 1 PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES+= pkg-message NSLCD_PIDFILE?= /var/run/nslcd.pid NSLCD_SOCKET?= /var/run/nslcd.ctl .if defined(SLAVE_PORT) OPTIONS_DEFINE= SASL OPTIONS_MULTI= MG1 OPTIONS_MULTI_MG1= PAM NSS PAM_DESC= Build pam_ldap NSS_DESC= Build nss support SASL_DESC= Build sasl support OPTIONS_DEFAULT= PAM NSS CONFLICTS+= nss-pam-ldapd-[0-9]* .else OPTIONS_MULTI= MG1 OPTIONS_MULTI_MG1= PAM NSS PAM_DESC= Build pam_ldap NSS_DESC= Build nss support OPTIONS_DEFAULT= PAM NSS CONFLICTS+= nss-pam-ldapd-sasl-[0-9]* .endif USERS= nslcd GROUPS= nslcd .include CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+= --with-nslcd-pidfile=${NSLCD_PIDFILE} \ --with-nslcd-socket=${NSLCD_SOCKET} \ --with-ldap-lib=openldap \ --with-nss-ldap-soname=nss_ldap.so.${NSS_LDAP_SHMAJOR} CONFIG_FILE= "nslcd.conf" CONFIGURE_ARGS+= --with-ldap-conf-file=${PREFIX}/etc/${CONFIG_FILE} PLIST_SUB+= CONFIG="${CONFIG_FILE}" \ PAM_LDAP_SHMAJOR="${PAM_LDAP_SHMAJOR}" \ NSS_LDAP_SHMAJOR="${NSS_LDAP_SHMAJOR}" SUB_LIST+= CONFIG_FILE="${PREFIX}/etc/${CONFIG_FILE}" .if ${PORT_OPTIONS:MSASL} WANT_OPENLDAP_SASL= yes CONFIGURE_ARGS+= --enable-sasl .else CONFIGURE_ARGS+= --disable-sasl .endif .if ${PORT_OPTIONS:MPAM} CONFIGURE_ARGS+= --enable-pam \ --with-pam-seclib-dir=${PREFIX}/lib \ --with-pam-ldap-soname=pam_ldap.so.${PAM_LDAP_SHMAJOR} CONFLICTS+= pam_ldap-1.* PLIST_SUB+= PAM="" .else CONFIGURE_ARGS+= --disable-pam PLIST_SUB+= PAM="@comment " .endif .if ${PORT_OPTIONS:MNSS} CONFIGURE_ARGS+= --enable-nss CONFLICTS+= nss_ldap-1.* PLIST_SUB+= NSS="" SUB_LIST+= NSS_MESSAGE="WARNING: Be sure to set uid and gid configuration parameters to make nslcd run under unprivileged user." .else CONFIGURE_ARGS+= --disable-nss PLIST_SUB+= NSS="@comment " SUB_LIST+= NSS_MESSAGE="" .endif # Won't hook this in to OPTIONS until PADL ports are at least DEPRECATED. # It doesn't do the software any good to run as replacement for the PADL ports # without running the daemon. .if defined(WITHOUT_NSLCD) CONFIGURE_ARGS+= --disable-nslcd PLIST_SUB+= NSLCD="@comment " .else CONFIGURE_ARGS+= --enable-nslcd PLIST_SUB+= NSLCD="" .endif post-extract: @${REINPLACE_CMD} -e 's/\(INSTALL_\)\(.*\)) -D /\1\2) /' ${WRKSRC}/Makefile.in ${WRKSRC}/nss/Makefile.in post-configure: ${REINPLACE_CMD} -e 's/^\(CFLAGS.*\) \-O2 \(.*\)$$/\1 -O0 \2/' ${WRKSRC}/nss/Makefile -show-pkgmessage:: - @${ECHO_CMD}; ${CAT} ${PKGMESSAGE} | ${FMT} 75 79; ${ECHO_CMD} - -post-install: show-pkgmessage +post-install: .if ${PORT_OPTIONS:MNSS} @${LN} -fs nss_ldap.so.${NSS_LDAP_SHMAJOR} ${STAGEDIR}${PREFIX}/lib/nss_ldap.so .endif .if ${PORT_OPTIONS:MPAM} @${LN} -fs pam_ldap.so.${PAM_LDAP_SHMAJOR} ${STAGEDIR}${PREFIX}/lib/pam_ldap.so .endif .include Index: head/net/nyancat/Makefile =================================================================== --- head/net/nyancat/Makefile (revision 386913) +++ head/net/nyancat/Makefile (revision 386914) @@ -1,24 +1,21 @@ # Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= nyancat PORTVERSION= 1.2 PORTEPOCH= 1 CATEGORIES= net games MAINTAINER= ehaupt@FreeBSD.org COMMENT= Animated telnet server that renders a loop of the nyan cat animation USE_GITHUB= yes GH_ACCOUNT= klange SUB_FILES= pkg-message PLIST_FILES= bin/nyancat do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin -post-install: - @${CAT} ${PKGMESSAGE} - .include Index: head/net/proxy-suite/Makefile =================================================================== --- head/net/proxy-suite/Makefile (revision 386913) +++ head/net/proxy-suite/Makefile (revision 386914) @@ -1,73 +1,70 @@ # Created by: Thomas Quinot # $FreeBSD$ PORTNAME= proxy-suite PORTVERSION= 1.9.2.4 PORTREVISION= 3 CATEGORIES= net MASTER_SITES= ftp://ftp.suse.com/pub/projects/proxy-suite/src/ MAINTAINER= thomas@FreeBSD.org COMMENT= The SuSE Proxy-Suite, a set of programs to enhance firewall security LICENSE= GPLv2 USE_AUTOTOOLS= autoconf USES= gmake tar:bzip2 # # basic configure args # CPPFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS= --prefix=${PREFIX} --with-libwrap=/usr/lib --with-regex \ --localstatedir=/var/run \ --enable-warnings --enable-so-linger \ --disable-proc-mods # # OPTIONAL: RFC1579 support -- not complete yet. # .if defined(WITH_RFC1579) CONFIGURE_ARGS+= --enable-rfc1579 .endif # # OPTIONAL: include ldap-support # .if defined(WITH_LDAP) USE_OPENLDAP= yes CONFIGURE_ARGS+= --with-libldap=${LOCALBASE}/lib .else CONFIGURE_ARGS+= --without-libldap .endif # # OPTIONAL: re-build the sgml documentation (postscript, html) # unfortunatenly this docu it is not up to date :-(( # reading of the manual pages and HOWTO's makes more sense... # .if !defined(WITH_SGMLDOC) ALL_TARGET= -C ftp-proxy .endif MAKE_ARGS= INST_ROOT=${STAGEDIR} CONF_DST=ftp-proxy.conf.sample SUB_FILES= pkg-message .include # XXX: newer autoconf's rely on the compiler result, not the preprocessor # for checking headers, so the configure.in needs to be fixed upstream # to properly include dependencies post-configure: @${ECHO} "#define HAVE_NET_IF_H 1" >> ${WRKSRC}/config.h @${ECHO} "#define HAVE_NETINET_IP_H 1" >> ${WRKSRC}/config.h @${ECHO} "#define HAVE_NETINET_IP_FIL_H 1" >> ${WRKSRC}/config.h @${ECHO} "#define HAVE_NETINET_IP_NAT_H 1" >> ${WRKSRC}/config.h pre-install: @${STRIP_CMD} ${WRKSRC}/ftp-proxy/ftp-proxy -post-install: - @${CAT} ${PKGMESSAGE} - .include Index: head/net/vnstat/Makefile =================================================================== --- head/net/vnstat/Makefile (revision 386913) +++ head/net/vnstat/Makefile (revision 386914) @@ -1,78 +1,74 @@ # Created by: Dennis Herrmann # $FreeBSD$ PORTNAME= vnstat PORTVERSION= 1.14 PORTREVISION= 0 CATEGORIES= net MASTER_SITES= http://humdi.net/vnstat/ \ http://mirror.mcx2.org/ MAINTAINER= feld@FreeBSD.org COMMENT= Console-based network traffic monitor LICENSE= GPLv2 MAKE_ARGS= CC="${CC}" CFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" INSTALL_TARGET= bsdinstall USE_RC_SUBR= vnstat USES= gmake USERS= vnstat GROUPS= vnstat BIN_BSD= ${PREFIX}/bin SBIN_BSD= ${PREFIX}/sbin MAN_BSD= ${MANDIRS} ETC_BSD= ${PREFIX}/etc PORTDOCS= README INSTALL_BSD UPGRADE SUB_FILES= pkg-message SUB_LIST= USERS=${USERS} \ GROUPS=${GROUPS} # will compile with image output OPTIONS_DEFINE= GUI DOCS OPTIONS_DEFAULT= GUI GUI_DESC= Build with graphics/gd dependency .include .if ${PORT_OPTIONS:MGUI} LIB_DEPENDS+= libgd.so:${PORTSDIR}/graphics/gd PLIST_SUB+= GUI="" .else ALL_TARGET="vnstat" PLIST_SUB+= GUI="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \ ${WRKSRC}/src/cfg.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/vnstat ${STAGEDIR}/${PREFIX}/bin/vnstat ${INSTALL_PROGRAM} ${WRKSRC}/src/vnstatd ${STAGEDIR}/${PREFIX}/sbin/vnstatd ${INSTALL_DATA} ${WRKSRC}/cfg/vnstat.conf ${STAGEDIR}/${PREFIX}/etc/vnstat.conf.sample ${INSTALL_MAN} ${WRKSRC}/man/vnstat.1 ${STAGEDIR}/${MANPREFIX}/man/man1/vnstat.1 ${INSTALL_MAN} ${WRKSRC}/man/vnstatd.1 ${STAGEDIR}/${MANPREFIX}/man/man1/vnstatd.1 ${INSTALL_MAN} ${WRKSRC}/man/vnstat.conf.5 ${STAGEDIR}/${MANPREFIX}/man/man5/vnstat.conf.5 .if ${PORT_OPTIONS:MGUI} ${INSTALL_PROGRAM} ${WRKSRC}/src/vnstati ${STAGEDIR}/${PREFIX}/bin/vnstati ${INSTALL_MAN} ${WRKSRC}/man/vnstati.1 ${STAGEDIR}/${MANPREFIX}/man/man1/vnstati.1 .endif post-install: .if ${PORT_OPTIONS:MDOCS} @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}" @${MKDIR} ${STAGEDIR}/${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}/${DOCSDIR} .endif - @${ECHO_MSG} "" - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} "" - .include