openbsd-ports/games/xteddy/Makefile
pvalchev 5f89f38148 Update to 2.0.2; Aleksander Piotrowski <aleksander.piotrowski@nic.com.pl>
* GPL license. set *_CDROM to Yes
 * perl instead of sed in post-patch. It's shorter
 * new xtoys. Old one didn't work for me
fixes a disappeared distfile issue too
2004-01-31 21:32:18 +00:00

33 lines
761 B
Makefile

# $OpenBSD: Makefile,v 1.13 2004/01/31 21:32:18 pvalchev Exp $
COMMENT= "cuddlesome teddy for the X11 desktop"
DISTNAME= xteddy-2.0.2
CATEGORIES= games
MASTER_SITES= http://www.ITN.LiU.SE/~stegu/xteddy/
LIB_DEPENDS= Imlib.19::graphics/imlib
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
NO_REGRESS= Yes
post-patch:
.for f in configure xteddy.c
@perl -pi -e 's#/usr/share/xteddy#${PREFIX}/share/xteddy#g' \
${WRKSRC}/${f}
.endfor
.for f in xtoys xteddy_test
@perl -pi -e 's#!!PREFIX!!#${PREFIX}#g' ${WRKSRC}/${f}
.endfor
.include <bsd.port.mk>