aboutsummaryrefslogtreecommitdiffstats
path: root/astro/xrmap/Makefile
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-10-27 20:21:47 +0800
committerjylefort <jylefort@FreeBSD.org>2005-10-27 20:21:47 +0800
commit7e0a6d07811b6b838e95dccc838faa0d65a7ea36 (patch)
treed778f44ce82b0f07b4f8c81c6c90ca299c188fdd /astro/xrmap/Makefile
parentce4ad39491254fe1be550c3f4feed90815d7523f (diff)
downloadfreebsd-ports-gnome-7e0a6d07811b6b838e95dccc838faa0d65a7ea36.tar.gz
freebsd-ports-gnome-7e0a6d07811b6b838e95dccc838faa0d65a7ea36.tar.zst
freebsd-ports-gnome-7e0a6d07811b6b838e95dccc838faa0d65a7ea36.zip
Fix compiled-in national flag and documentation directories.
Forgotten by: jylefort
Diffstat (limited to 'astro/xrmap/Makefile')
-rw-r--r--astro/xrmap/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/astro/xrmap/Makefile b/astro/xrmap/Makefile
index 3153642579d4..a1216c666023 100644
--- a/astro/xrmap/Makefile
+++ b/astro/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