aboutsummaryrefslogtreecommitdiff
path: root/graphics/pho
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2004-01-05 13:29:40 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2004-01-05 13:29:40 +0000
commitecaa9e243480ca66d950de43f72bdd36ba1742f3 (patch)
tree179bcab4ac6596e364be6f3f10763ae8a4443ac3 /graphics/pho
parenta92dc0327d7921e2f3a4c43124b8fad7a831b85f (diff)
downloadports-ecaa9e243480ca66d950de43f72bdd36ba1742f3.tar.gz
ports-ecaa9e243480ca66d950de43f72bdd36ba1742f3.zip
Update to 0.9.2 [1]
Also o Use one REINPLACE in post-patch target o Respect CFLAGS Submitted by: maintainer [1] Approved by: Roland Jesse aka roland.jesse at gmx.net (maintainer) PR: 60918
Notes
Notes: svn path=/head/; revision=97348
Diffstat (limited to 'graphics/pho')
-rw-r--r--graphics/pho/Makefile11
-rw-r--r--graphics/pho/distinfo2
-rw-r--r--graphics/pho/files/patch-Makefile11
3 files changed, 8 insertions, 16 deletions
diff --git a/graphics/pho/Makefile b/graphics/pho/Makefile
index 156e9a163a7e..25cdc7333c8d 100644
--- a/graphics/pho/Makefile
+++ b/graphics/pho/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pho
-PORTVERSION= 0.9.1
+PORTVERSION= 0.9.2
CATEGORIES= graphics
MASTER_SITES= http://shallowsky.com/software/pho/
@@ -19,8 +19,11 @@ USE_REINPLACE= yes
MAN1= pho.1
-do-configure:
- @(cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|make|gmake|g' Makefile)
- @(cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|install -D|install|g' Makefile)
+post-patch:
+ @${REINPLACE_CMD} -e 's|make|${GMAKE}|g; \
+ s|$$(INSTALL) \(pho \)|${INSTALL_PROGRAM} \1|; \
+ s|$$(INSTALL) \(pho.1\)|${INSTALL_MAN} \1|; \
+ s|-g -O2|${CFLAGS}|' \
+ ${WRKSRC}/Makefile
.include <bsd.port.mk>
diff --git a/graphics/pho/distinfo b/graphics/pho/distinfo
index 763996ae825e..639ee490cc1d 100644
--- a/graphics/pho/distinfo
+++ b/graphics/pho/distinfo
@@ -1 +1 @@
-MD5 (pho-0.9.1.tar.gz) = 8fab6d3eb1ff1c959f702d52e2aa7cdb
+MD5 (pho-0.9.2.tar.gz) = 4a41a6bac06eb6333471e0345ed491c4
diff --git a/graphics/pho/files/patch-Makefile b/graphics/pho/files/patch-Makefile
deleted file mode 100644
index 265532e1fb7d..000000000000
--- a/graphics/pho/files/patch-Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig Tue Oct 7 10:19:24 2003
-+++ Makefile Tue Oct 7 10:19:39 2003
-@@ -14,7 +14,7 @@
-
- INSTALL = /usr/bin/install -D
-
--INSTALLPREFIX = ${DESTDIR}/usr/local
-+INSTALLPREFIX = ${DESTDIR}${PREFIX}
-
- TARFILE = pho-$(VERSION).tar.gz
-