freebsd-ports/devel/flatzebra/Makefile
Emanuel Haupt 5005b67362 According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
2014-02-10 13:54:26 +00:00

36 lines
805 B
Makefile

# Created by: Edwin Groothuis <edwin2mavetju.org>
# $FreeBSD$
PORTNAME= flatzebra
PORTVERSION= 0.1.6
PORTREVISION= 1
CATEGORIES= devel games
MASTER_SITES= http://perso.b2b2c.ca/sarrazip/dev/
MAINTAINER= edwin@mavetju.org
COMMENT= A generic game engine for 2D double-buffering animation
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --includedir=${PREFIX}/include
USES= pkgconfig
USE_AUTOTOOLS= libtool
USE_SDL= sdl mixer image
USE_LDCONFIG= yes
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= AUTHORS COPYING INSTALL NEWS README TODO THANKS
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} 's|^install-data-am: .*|install-data-am: install-pkgconfigDATA|' ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>