# Created by: Roland Jesse PORTNAME= pho PORTVERSION= 1.0 CATEGORIES= graphics MASTER_SITES= http://shallowsky.com/software/pho/ MAINTAINER= danfe@FreeBSD.org COMMENT= Lightweight image viewer LICENSE= GPLv2 USES= gmake gnome pkgconfig USE_GNOME= gtk20 MAKE_ARGS= INSTALLPREFIX="${STAGEDIR}${PREFIX}" ALL_TARGET= ${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz post-patch: @${REINPLACE_CMD} -e 's|make|$$(MAKE)| ; \ /bin/s|$$(INSTALL)|${INSTALL_PROGRAM}| ; \ /man/s|$$(INSTALL)|${INSTALL_MAN}| ; \ /CFLAGS/s|-g ||' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|-Wall -g -O2 ||' ${WRKSRC}/exif/Makefile .include