openbsd-ports/games/xteddy/Makefile

38 lines
829 B
Makefile
Raw Normal View History

2010-10-24 16:58:58 -04:00
# $OpenBSD: Makefile,v 1.23 2010/10/24 21:19:03 ajacoutot Exp $
COMMENT= cuddlesome teddy for the X11 desktop
DISTNAME= xteddy-2.2
CATEGORIES= games
HOMEPAGE= http://staffwww.itn.liu.se/~stegu/xteddy/
MASTER_SITES= ${HOMEPAGE}
2000-10-04 17:59:35 -04:00
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
2000-03-16 19:26:36 -05:00
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
2000-03-16 19:26:36 -05:00
PERMIT_DISTFILES_FTP= Yes
WANTLIB += X11 Xext c
2000-03-16 19:26:36 -05:00
LIB_DEPENDS= Imlib2::graphics/imlib2
2000-10-04 17:59:35 -04:00
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
2010-10-18 14:00:15 -04:00
USE_GROFF = Yes
NO_REGRESS= Yes
pre-configure:
2000-10-04 17:59:35 -04:00
.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}
2000-10-04 17:59:35 -04:00
.endfor
.include <bsd.port.mk>