summaryrefslogtreecommitdiffstats
path: root/net/tinyfugue/Makefile
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2002-01-07 20:26:38 +0000
committerfjoe <fjoe@FreeBSD.org>2002-01-07 20:26:38 +0000
commitbcd02d139996d0b9ac7b739f6e963e48c88fca33 (patch)
treed065393519f4c750fd831cc598f6451b8a3de988 /net/tinyfugue/Makefile
parent6c79170d1d8faf09e4b5b73fda8dfb149b1f82f7 (diff)
downloadFreeBSD-ports-bcd02d139996d0b9ac7b739f6e963e48c88fca33.zip
FreeBSD-ports-bcd02d139996d0b9ac7b739f6e963e48c88fca33.tar.gz
- add -DWITH_MCCP (mccp v1/v2 support)
- assume maintainership
Diffstat (limited to 'net/tinyfugue/Makefile')
-rw-r--r--net/tinyfugue/Makefile19
1 files changed, 17 insertions, 2 deletions
diff --git a/net/tinyfugue/Makefile b/net/tinyfugue/Makefile
index 5585af6..b827178 100644
--- a/net/tinyfugue/Makefile
+++ b/net/tinyfugue/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= ftp://tf.tcp.com/pub/tinyfugue/ \
ftp://ftp.ci.uminho.pt/pub/mirrors/tinyfugue/
DISTNAME= tf-40s1
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= fjoe@FreeBSD.org
.if defined(PARALLEL_PACKAGE_BUILD)
BROKEN= tries to cd to directory that do not exist yet
@@ -26,4 +26,19 @@ MAKE_ENV= TFVER=${DISTNAME:S/^tf-//}
MAN1= tf.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_MCCP)
+EXTRA_PATCHES= ${FILESDIR}/mccp-patch
+PKGNAMESUFFIX= -mccp
+
+post-extract:
+ @${CP} ${FILESDIR}/mccp.[ch] ${WRKSRC}/src
+.else
+pre-extract:
+ @${ECHO_MSG}
+ @${ECHO_MSG} "You can enable MCCP v1/v2 support by defining WITH_MCCP"
+ @${ECHO_MSG}
+.endif
+
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud