aboutsummaryrefslogtreecommitdiff
path: root/x11/peeper/Makefile
blob: 6dca2dbfe5cba9adf079ff4593f06aeb85b1712d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ex:ts=8
# Ports collection makefile for:	peeper
# Date created:			Aug 9, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	peeper
PORTVERSION=	0.1
CATEGORIES=	x11
MASTER_SITES=	http://peeper.sourceforge.net/

MAINTAINER=	ports@FreeBSD.org

USE_REINPLACE=	yes
USE_GNOMENG=	yes
USE_GNOME=	gtk12 imlib
USE_GMAKE=	yes
ALL_TARGET=	peeper
MAKE_ENV=	LIBS="-L${LOCALBASE}/lib -lpng -ljpeg -lungif -ltiff"

post-patch:
	@${REINPLACE_CMD} -e "s|^CC|#CC|g" -e "s|CFLAGS=|CFLAGS+=|g" \
		-e "s|gtk-config|${GTK_CONFIG}|g" -e "s|-ldl||g" \
		-e "s|LIBS=|LIBS+=|g" ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/peeper ${PREFIX}/bin

.include <bsd.port.mk>