freebsd-ports/games/xteddy/Makefile

44 lines
1.1 KiB
Makefile
Raw Normal View History

2013-09-02 11:45:05 +02:00
# Created by: Eckart "Isegrim" Hofmann
1999-08-25 08:06:33 +02:00
# $FreeBSD$
PORTNAME= xteddy
PORTVERSION= 2.2
CATEGORIES= games
MASTER_SITES= http://webstaff.itn.liu.se/~stegu/xteddy/
MAINTAINER= ports@FreeBSD.org
2013-09-02 11:45:05 +02:00
COMMENT= Cuddlesome teddy for the X desktop
LICENSE= GPLv2
2013-09-02 21:55:48 +02:00
USES= pkgconfig
USE_EFL= imlib2
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
2013-10-08 01:43:04 +02:00
LDFLAGS+= -L${LOCALBASE}/lib -lXext
PLIST_FILES= bin/xteddy bin/xteddy_test bin/xtoys \
2013-11-16 02:13:37 +01:00
man/man6/xteddy.6.gz \
%%DATADIR%%/teddy.png %%DATADIR%%/xalex.png \
%%DATADIR%%/xbobo.png %%DATADIR%%/xbrummi.png \
%%DATADIR%%/xcherubino.png %%DATADIR%%/xduck.png \
%%DATADIR%%/xhedgehog.png %%DATADIR%%/xklitze.png \
%%DATADIR%%/xnamu.png %%DATADIR%%/xorca.png \
%%DATADIR%%/xpenguin.png %%DATADIR%%/xpuppy.png \
%%DATADIR%%/xruessel.png %%DATADIR%%/xteddy.png \
%%DATADIR%%/xtrouble.png %%DATADIR%%/xtuxxy.png
PLIST_DIRS= %%DATADIR%%
post-patch:
.for f in configure xteddy.c
@${REINPLACE_CMD} -e \
's|/usr/share/xteddy|${DATADIR}|' ${WRKSRC}/${f}
.endfor
.for f in xteddy_test xtoys
@${REINPLACE_CMD} -e \
's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/${f}
.endfor
.include <bsd.port.mk>