1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/graphics/pho/Makefile
Alexey Dokuchaev fa94729ea2 Patch things in a more accurate way to unbreak installation (and also prevent
CFLAGS duplication while I am here).

Reported by:	pavmail
2011-12-19 16:47:19 +00:00

35 lines
770 B
Makefile

# New ports collection makefile for: pho
# Date created: 10 April 2003
# Whom: Roland Jesse <roland.jesse@gmx.net>
#
# $FreeBSD$
#
PORTNAME= pho
DISTVERSION= 0.9.7-pre7
CATEGORIES= graphics
MASTER_SITES= http://shallowsky.com/software/pho/
MAINTAINER= ports@FreeBSD.org
COMMENT= A lightweight image viewer
LICENSE= GPLv2
USE_GMAKE= yes
USE_GNOME= gtk20
MAKE_ARGS= INSTALLPREFIX="${PREFIX}"
ALL_TARGET= pho
WRKSRC= ${WRKDIR}/${PORTNAME}
MAN1= pho.1
PLIST_FILES= bin/pho
post-patch:
@${REINPLACE_CMD} -e 's|make|$$(MAKE)| ; \
/bin/s|$$(INSTALL)|${INSTALL_PROGRAM}| ; \
/man/s|$$(INSTALL)|${INSTALL_MAN}| ; \
/CFLAGS/s|-g|| ; s|^G1FLAGS|#&|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|-Wall -g -O2 ||' ${WRKSRC}/exif/Makefile
.include <bsd.port.mk>