1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/graphics/pho/Makefile
2021-04-06 16:31:07 +02:00

29 lines
711 B
Makefile

# Created by: Roland Jesse <roland.jesse@gmx.net>
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 <bsd.port.mk>