summaryrefslogtreecommitdiffstats
path: root/graphics/xzgv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xzgv/Makefile')
-rw-r--r--graphics/xzgv/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/xzgv/Makefile b/graphics/xzgv/Makefile
index ff6ce81..0f45747 100644
--- a/graphics/xzgv/Makefile
+++ b/graphics/xzgv/Makefile
@@ -6,22 +6,23 @@
#
PORTNAME= xzgv
-PORTVERSION= 0.6
+PORTVERSION= 0.7
CATEGORIES= graphics
MASTER_SITES= http://xzgv.browser.org/ \
- ${MASTER_SITE_SUNSITE}
+ ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/graphics/viewers/X
MAINTAINER= nosuzuki@e-mail.ne.jp
-USE_GMAKE= yes
-USE_IMLIB= yes
USE_X_PREFIX= yes
+USE_IMLIB= yes
+USE_GMAKE= yes
MAN1= xzgv.1
post-patch:
- @${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/config.mk
-
+ @${PERL} -pi -e 's|^CC|#CC|g ; \
+ s|^CFLAGS|#CFLAGS|g ; \
+ s|^PREFIX|#PREFIX|g' ${WRKSRC}/config.mk
.include <bsd.port.mk>
OpenPOWER on IntegriCloud