diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-07 08:40:54 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-07 08:40:54 +0800 |
commit | 6985ddcd45adb5512ac3e05e042cd2d71040054e (patch) | |
tree | ed27251efe6bb49848439485c8b7e528f582b2da /databases/grass/Makefile | |
parent | 22aa302c1b489c99d5769d02b29130defdb7c7b3 (diff) | |
download | freebsd-ports-gnome-6985ddcd45adb5512ac3e05e042cd2d71040054e.tar.gz freebsd-ports-gnome-6985ddcd45adb5512ac3e05e042cd2d71040054e.tar.zst freebsd-ports-gnome-6985ddcd45adb5512ac3e05e042cd2d71040054e.zip |
It seemed that the 4.x build was generating more files than the 6.x build.
Fixed pkg-plist accordingly.
Noticed by: YAPHR
Diffstat (limited to 'databases/grass/Makefile')
-rw-r--r-- | databases/grass/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/databases/grass/Makefile b/databases/grass/Makefile index d094ad9abf5a..e505a9160e32 100644 --- a/databases/grass/Makefile +++ b/databases/grass/Makefile @@ -73,13 +73,19 @@ SUB_LIST= GRASS_INST_DIR=${GRASS_INST_DIR} INSTALLS_SHLIB= yes LDCONFIG_DIRS= %%PREFIX%%/%%GRASS_INST_DIR%%/lib +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +PLIST_SUB+= FBSD4="" +.else +PLIST_SUB+= FBSD4="@comment " +.endif + post-extract: @${REINPLACE_CMD} -e 's/ make mo/ ${GMAKE} mo/g' \ ${WRKSRC}/locale/Makefile @${REINPLACE_CMD} -E '28s|/grass-.*|/${GRASS_INST_DIR}|g' ${WRKSRC}/Makefile -.include <bsd.port.pre.mk> - post-install: @${INSTALL_SCRIPT} ${WRKDIR}/grass.sh ${PREFIX}/etc/rc.d/000.grass.sh |