Files
ports/games/xteddy/Makefile
Nuno Teixeira ba9b737fa1 */*: Chase graphics/imlib2 update
New imlib2 version in ports.
2025-03-18 15:36:30 +00:00

44 lines
1.2 KiB
Makefile

PORTNAME= xteddy
PORTVERSION= 2.2
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= http://webstaff.itn.liu.se/~stegu/xteddy/
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Cuddlesome teddy for the X desktop
WWW= http://webstaff.itn.liu.se/~stegu/xteddy/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libImlib2.so:graphics/imlib2
USES= localbase pkgconfig
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
LDFLAGS+= -lXext
PLIST_FILES= bin/xteddy bin/xteddy_test bin/xtoys \
share/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
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>