diff options
author | garga <garga@FreeBSD.org> | 2007-10-06 01:37:45 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2007-10-06 01:37:45 +0800 |
commit | 40c6ee07d20669f14cfc5ba0bbfb3b17ee75f747 (patch) | |
tree | 5d19c9a598849b624ab3d6d952151f6a84df62ed /sysutils/ucspi-tcp | |
parent | 6cf3c969bbec19d23116153ec82cb03484143994 (diff) | |
download | freebsd-ports-gnome-40c6ee07d20669f14cfc5ba0bbfb3b17ee75f747.tar.gz freebsd-ports-gnome-40c6ee07d20669f14cfc5ba0bbfb3b17ee75f747.tar.zst freebsd-ports-gnome-40c6ee07d20669f14cfc5ba0bbfb3b17ee75f747.zip |
- Take maintainership
- Pet portlint
Diffstat (limited to 'sysutils/ucspi-tcp')
-rw-r--r-- | sysutils/ucspi-tcp/Makefile | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/sysutils/ucspi-tcp/Makefile b/sysutils/ucspi-tcp/Makefile index 521d8a13c05d..fa6adbe90cde 100644 --- a/sysutils/ucspi-tcp/Makefile +++ b/sysutils/ucspi-tcp/Makefile @@ -12,7 +12,9 @@ CATEGORIES= sysutils net MASTER_SITES= http://cr.yp.to/ucspi-tcp/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} -MAINTAINER= ports@FreeBSD.org +PATCH_DIST_STRIP= -p1 + +MAINTAINER= garga@FreeBSD.org COMMENT= Command-line tools for building TCP client-server applications OPTIONS= MAN "Install man(1) pages" on \ @@ -31,7 +33,7 @@ CFLAGS+= -O .include <bsd.port.pre.mk> -.if !defined(WITHOUT_MAN) +.if defined(WITH_MAN) MASTER_SITES+= http://smarden.org/pape/djb/manpages/:1 DISTFILES+= ${DISTNAME}-man.tar.gz:1 MAN1= addcr.1 argv0.1 date@.1 delcr.1 finger@.1 fixcrio.1 \ @@ -42,7 +44,6 @@ MAN1= addcr.1 argv0.1 date@.1 delcr.1 finger@.1 fixcrio.1 \ .if defined(WITH_RSS_DIFF) PATCH_SITES+= http://www.qmail.org/ PATCHFILES+= ucspi-rss.diff -PATCH_DIST_STRIP= -p1 .endif .if defined(WITH_SSL) @@ -50,17 +51,18 @@ PATCH_DIST_STRIP= -p1 .include "${PORTSDIR}/Mk/bsd.openssl.mk" PATCH_SITES+= http://www.nrg4u.com/qmail/ PATCHFILES+= ucspi-tcp-ssl-20050405.patch.gz -PATCH_DIST_STRIP= -p1 - -post-patch: - @${REINPLACE_CMD} -e 's|#INCS=-I/usr/local/include|INCS=-I${OPENSSLBASE}/include|g; \ - s|-lcrypto|-L${OPENSSLBASE}/lib |g' ${WRKSRC}/Makefile .endif .if defined(WITH_RBL2SMTPD) -PATCH_SITES+= ${MASTER_SITE_LOCAL:S/$/garga\/ucspi-tcp\/:rbl2smtpd/} -PATCHFILES+= ucspi-tcp_rbl2smtpd.diff:rbl2smtpd -PATCH_DIST_STRIP= -p1 +PATCH_SITES+= ${MASTER_SITE_LOCAL:S/$/garga\/ucspi-tcp\/:rbl2smtpd/} +PATCHFILES+= ucspi-tcp_rbl2smtpd.diff:rbl2smtpd +.endif + +post-patch: +.if defined(WITH_SSL) + @${REINPLACE_CMD} -e 's|#INCS=-I/usr/local/include|INCS=-I${OPENSSLBASE}/include|g; \ + s|-lcrypto|-L${OPENSSLBASE}/lib |g' \ + ${WRKSRC}/Makefile .endif post-configure: @@ -75,7 +77,7 @@ do-install: .for file_name in date@ finger@ http@ mconnect who@ tcpcat @${INSTALL_SCRIPT} ${WRKSRC}/${file_name} ${PREFIX}/bin .endfor -.if !defined(WITHOUT_MAN) +.if defined(WITH_MAN) @cd ${WRKSRC}-man; ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1/ .endif |