openbsd-ports/games/xteddy/Makefile
espie 100196f27a Zap default MAINTAINER from Makefile.
Especially now that the default line is more verbose.
2001-10-28 13:05:44 +00:00

33 lines
847 B
Makefile

# $OpenBSD: Makefile,v 1.11 2001/10/28 13:05:47 espie Exp $
COMMENT= "cuddlesome teddy for the X11 desktop"
DISTNAME= xteddy-2.0.1
CATEGORIES= games
NEED_VERSION= 1.402
MASTER_SITES= http://www.ITN.LiU.SE/~stegu/xteddy/
LIB_DEPENDS= Imlib.19::graphics/imlib
PERMIT_PACKAGE_CDROM= "no fee"
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= "no fee"
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
post-patch:
.for f in configure xteddy.c
@cd ${WRKSRC} && sed -e \
s#/usr/share/xteddy#${PREFIX}/share/xteddy#g \
< ${f} > ${f}.new && mv -f ${f}.new ${f}
.endfor
@chmod 755 ${WRKSRC}/configure
@cd ${WRKSRC} && sed -e \
s#!!PREFIX!!#${PREFIX}#g < xtoys > xtoys.new && \
mv -f xtoys.new xtoys
.include <bsd.port.mk>