1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

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
This commit is contained in:
Sergey A. Osokin 2004-01-05 13:29:40 +00:00
parent a92dc0327d
commit ecaa9e2434
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97348
3 changed files with 8 additions and 16 deletions

View File

@ -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>

View File

@ -1 +1 @@
MD5 (pho-0.9.1.tar.gz) = 8fab6d3eb1ff1c959f702d52e2aa7cdb
MD5 (pho-0.9.2.tar.gz) = 4a41a6bac06eb6333471e0345ed491c4

View File

@ -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