From ecaa9e243480ca66d950de43f72bdd36ba1742f3 Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Mon, 5 Jan 2004 13:29:40 +0000 Subject: 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 --- graphics/pho/Makefile | 11 +++++++---- graphics/pho/distinfo | 2 +- graphics/pho/files/patch-Makefile | 11 ----------- 3 files changed, 8 insertions(+), 16 deletions(-) delete mode 100644 graphics/pho/files/patch-Makefile (limited to 'graphics/pho') 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 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 - -- cgit v1.2.3