summaryrefslogtreecommitdiff
path: root/databases/grass/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/grass/Makefile')
-rw-r--r--databases/grass/Makefile10
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