freebsd-ports/games/xteddy/Makefile
Grzegorz Blach a781a6e13c - Remove Mk/bsd.efl.mk
- Convert USE_EFL=libtool_hack to USES=libtool
- Convert USE_EFL=imlib2 to LIB_DEPENDS=libImlib2.so:...
- Bump PORTVERSION in graphics/imlib2 and in all ports
  which depends on imlib2

PR:		196062
Approved by:	portmgr
2014-12-27 00:09:02 +00:00

46 lines
1.2 KiB
Makefile

# Created by: Eckart "Isegrim" Hofmann
# $FreeBSD$
PORTNAME= xteddy
PORTVERSION= 2.2
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://webstaff.itn.liu.se/~stegu/xteddy/ \
http://www.skysmurf.nl/comp/FreeBSD/distfiles/
MAINTAINER= freebsd@skysmurf.nl
COMMENT= Cuddlesome teddy for the X desktop
LICENSE= GPLv2
LIB_DEPENDS= libImlib2.so:${PORTSDIR}/graphics/imlib2
USES= pkgconfig
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lXext
PLIST_FILES= bin/xteddy bin/xteddy_test bin/xtoys \
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>