summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-10-27 12:21:47 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-10-27 12:21:47 +0000
commit11992b66e200758767442f3040801fcb32f17c83 (patch)
treed3e196696ffbd243a95d416abdc8c447ec4a7545 /astro
parent- Update to 2.0.5 (diff)
Fix compiled-in national flag and documentation directories.
Forgotten by: jylefort
Notes
Notes: svn path=/head/; revision=146473
Diffstat (limited to 'astro')
-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