aboutsummaryrefslogtreecommitdiff
path: root/net/dgd
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2004-03-08 22:06:11 +0000
committerGreg Lewis <glewis@FreeBSD.org>2004-03-08 22:06:11 +0000
commitaa671e2a62e2e55fe3284f9771d831a4b3900e76 (patch)
tree824efc1d5944497a391a3b752c47982c2d9a2120 /net/dgd
parenta5fe0277345226c353aece5bff4b800691e248d1 (diff)
downloadports-aa671e2a62e2e55fe3284f9771d831a4b3900e76.tar.gz
ports-aa671e2a62e2e55fe3284f9771d831a4b3900e76.zip
. Use OPTIONS.
. Change a comment to avoid triggering a portlint warning.
Notes
Notes: svn path=/head/; revision=103345
Diffstat (limited to 'net/dgd')
-rw-r--r--net/dgd/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/net/dgd/Makefile b/net/dgd/Makefile
index 80e9ce63b043..538cfc955839 100644
--- a/net/dgd/Makefile
+++ b/net/dgd/Makefile
@@ -12,12 +12,6 @@ CATEGORIES= net lang games
MASTER_SITES= ${MASTER_SITE_LOCAL:S|%SUBDIR%|glewis/dgd|} \
ftp://ftp.dworkin.nl/pub/dgd/ \
ftp://ftp.imaginary.com/pub/LPC/servers/DGD/
-.ifdef (WITH_NETWORKING)
-PATCH_SITES= ftp://noname.franken.de/pub/dgd/
-PATCHFILES= Network-1-DGD-1.2p3-patch.gz
-PATCH_DIST_STRIP= -p1
-PATCH_STRIP= -p0 -F 3
-.endif
MAINTAINER= glewis@FreeBSD.org
COMMENT= Dworkin's Generic Driver (network server)
@@ -25,13 +19,21 @@ COMMENT= Dworkin's Generic Driver (network server)
NO_CDROM= "no distribution to corporate environment"
RESTRICTED= "license required for commercial use"
+OPTIONS= NETWORKING "With networking kfuns" off
+
DIST_SUBDIR= dgd
WRKSRC= ${WRKDIR}/dgd/src
PATCH_WRKSRC= ${WRKDIR}/dgd
ALL_TARGET= install
USE_REINPLACE= yes
+.include <bsd.port.pre.mk>
+
.ifdef (WITH_NETWORKING)
+PATCH_SITES= ftp://noname.franken.de/pub/dgd/
+PATCHFILES= Network-1-DGD-1.2p3-patch.gz
+PATCH_DIST_STRIP= -p1
+PATCH_STRIP= -p0 -F 3
PLIST_SUB+= NETWORKING=""
.else
PLIST_SUB+= NETWORKING="@comment "
@@ -74,10 +76,10 @@ do-install:
post-install:
# Need a temporary directory for certain files
${MKDIR} ${DATADIR}/tmp
- # Run package install script
+ # Run package installation script
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/pkg-install ${PKGNAME} \
POST-INSTALL
# Set mudlib ownership
-@${CHOWN} -h -R mud:mud ${DATADIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>