1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/graphics/pho/Makefile
2014-03-05 03:21:24 +00:00

30 lines
719 B
Makefile

# Created by: Roland Jesse <roland.jesse@gmx.net>
# $FreeBSD$
PORTNAME= pho
DISTVERSION= 0.9.8
CATEGORIES= graphics
MASTER_SITES= http://shallowsky.com/software/pho/
MAINTAINER= ports@FreeBSD.org
COMMENT= Lightweight image viewer
LICENSE= GPLv2
USES= gmake 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 <bsd.port.mk>