mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
fa94729ea2
CFLAGS duplication while I am here). Reported by: pavmail
35 lines
770 B
Makefile
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>
|