aboutsummaryrefslogtreecommitdiff
path: root/www/srg/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-11-05 12:47:58 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-11-05 12:47:58 +0000
commite9728c9583c376a9b7f4cf09426f91d18af227b3 (patch)
tree1e788d2283e3d92eb8a72eefe56c59ba4699e62a /www/srg/Makefile
parent07e90362dbd87d9015e3280619dd246db6371f13 (diff)
downloadports-e9728c9583c376a9b7f4cf09426f91d18af227b3.tar.gz
ports-e9728c9583c376a9b7f4cf09426f91d18af227b3.zip
Notes
Diffstat (limited to 'www/srg/Makefile')
-rw-r--r--www/srg/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/www/srg/Makefile b/www/srg/Makefile
index da8d288ab982..e28c70003aed 100644
--- a/www/srg/Makefile
+++ b/www/srg/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= srg
-PORTVERSION= 1.0
-PORTREVISION= 1
+PORTVERSION= 1.1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://mirror.crc.net.nz/pub/srg/
@@ -25,12 +24,6 @@ NO_INSTALL_MANPAGES= yes
MAKE_ENV= CC="${CC}" CXX="${CXX}" \
CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-PLIST_FILES= bin/srg
-.for i in footer.php header.php ip2user.txt srg.conf
-PLIST_FILES+= share/examples/srg/${i}
-.endfor
-PLIST_DIRS= share/examples/srg
-
post-patch:
${REINPLACE_CMD} -e 's|-g |${CFLAGS} ${CPPFLAGS} |' ${WRKSRC}/Makefile \
${WRKSRC}/lib/Makefile
@@ -38,7 +31,9 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/srg ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+.endif
.include <bsd.port.mk>