aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-10-31 00:46:42 +0800
committerleeym <leeym@FreeBSD.org>2004-10-31 00:46:42 +0800
commit0b8f43d62b67727a13103b1eeb3cb4e6121beae1 (patch)
tree629e54fab288f6e9a804554c4378513c9164308d /www
parent3f9a8919296b0d73456854eb3ebd5bd4c987b0b1 (diff)
downloadfreebsd-ports-gnome-0b8f43d62b67727a13103b1eeb3cb4e6121beae1.tar.gz
freebsd-ports-gnome-0b8f43d62b67727a13103b1eeb3cb4e6121beae1.tar.zst
freebsd-ports-gnome-0b8f43d62b67727a13103b1eeb3cb4e6121beae1.zip
- add USE_GCC=3.3 and unbreak this port
- replace pkg-plist with PLIST_FILES and PORTDOCS
Diffstat (limited to 'www')
-rw-r--r--www/mgstat/Makefile11
-rw-r--r--www/mgstat/pkg-plist5
2 files changed, 5 insertions, 11 deletions
diff --git a/www/mgstat/Makefile b/www/mgstat/Makefile
index 6fea3efd7233..02d114a9b3cb 100644
--- a/www/mgstat/Makefile
+++ b/www/mgstat/Makefile
@@ -18,20 +18,19 @@ LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
GNU_CONFIGURE= yes
-MGDOCDIR= ${PREFIX}/share/doc/mgstat
+PORTDOCS= Copyright README USAGE
+PLIST_FILES= bin/mgstat
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile with gcc 3.4.2"
+USE_GCC= 3.3
.endif
post-install:
.if !defined(NOPORTDOCS)
- @if ! [ -d ${MGDOCDIR} ]; then ${MKDIR} ${MGDOCDIR}; fi
- ${INSTALL_DATA} ${WRKSRC}/Copyright ${MGDOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${MGDOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/USAGE ${MGDOCDIR}
+ @${MKDIR} ${DOCSDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
diff --git a/www/mgstat/pkg-plist b/www/mgstat/pkg-plist
deleted file mode 100644
index 91faee1a2896..000000000000
--- a/www/mgstat/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/mgstat
-%%PORTDOCS%%share/doc/mgstat/Copyright
-%%PORTDOCS%%share/doc/mgstat/README
-%%PORTDOCS%%share/doc/mgstat/USAGE
-%%PORTDOCS%%@dirrm share/doc/mgstat