aboutsummaryrefslogtreecommitdiffstats
path: root/databases/grass
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-07 08:40:54 +0800
committeredwin <edwin@FreeBSD.org>2006-01-07 08:40:54 +0800
commit6985ddcd45adb5512ac3e05e042cd2d71040054e (patch)
treeed27251efe6bb49848439485c8b7e528f582b2da /databases/grass
parent22aa302c1b489c99d5769d02b29130defdb7c7b3 (diff)
downloadfreebsd-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')
-rw-r--r--databases/grass/Makefile10
-rw-r--r--databases/grass/pkg-plist13
2 files changed, 21 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
diff --git a/databases/grass/pkg-plist b/databases/grass/pkg-plist
index d7365611a61d..108dee65cd0d 100644
--- a/databases/grass/pkg-plist
+++ b/databases/grass/pkg-plist
@@ -443,6 +443,19 @@ etc/rc.d/000.grass.sh
%%GRASS_INST_DIR%%/docs/html/i.vpoints.html
%%GRASS_INST_DIR%%/docs/html/i.zc.html
%%GRASS_INST_DIR%%/docs/html/p.out.vrml.html
+%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/paint.html
+%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/full_index.html
+%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/display.html
+%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/database.html
+%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/general.html
+%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/imagery.html
+%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/postGRASS.html
+%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/photo.html
+%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/postscript.html
+%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/raster.html
+%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/raster3D.html
+%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/vector.html
+%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/index.html
%%GRASS_INST_DIR%%/docs/html/pg.postgisdb.html
%%GRASS_INST_DIR%%/docs/html/photo.2image.html
%%GRASS_INST_DIR%%/docs/html/photo.2target.html