summaryrefslogtreecommitdiffstats
path: root/misc/xrmap
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-10-27 12:21:47 +0000
committerjylefort <jylefort@FreeBSD.org>2005-10-27 12:21:47 +0000
commit7e0a6d07811b6b838e95dccc838faa0d65a7ea36 (patch)
treed778f44ce82b0f07b4f8c81c6c90ca299c188fdd /misc/xrmap
parentce4ad39491254fe1be550c3f4feed90815d7523f (diff)
downloadFreeBSD-ports-7e0a6d07811b6b838e95dccc838faa0d65a7ea36.zip
FreeBSD-ports-7e0a6d07811b6b838e95dccc838faa0d65a7ea36.tar.gz
Fix compiled-in national flag and documentation directories.
Forgotten by: jylefort
Diffstat (limited to 'misc/xrmap')
-rw-r--r--misc/xrmap/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/xrmap/Makefile b/misc/xrmap/Makefile
index 3153642..a1216c6 100644
--- a/misc/xrmap/Makefile
+++ b/misc/xrmap/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xrmap
PORTVERSION= 2.32
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= ftp://ftp.ac-grenoble.fr/ge/geosciences/xrmap/data/:data \
ftp://ftp.ac-grenoble.fr/ge/geosciences/xrmap/:src
@@ -40,6 +41,8 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -Ee 's|cc |$(CC) $(CFLAGS) |' ${WRKSRC}/tools/Makefile
+ @${REINPLACE_CMD} -Ee '/FLAGPATH/ s,/(xpm|svg|eps|png),,' ${WRKSRC}/xrmap.c
+ @${REINPLACE_CMD} -e 's|SHAREDIR"/doc"|"${DOCSDIR}"|' ${WRKSRC}/xrmap.h
do-install:
# install xrmap
OpenPOWER on IntegriCloud