openbsd-ports/graphics/lsys/Makefile
2017-04-10 11:46:18 +00:00

31 lines
747 B
Makefile

# $OpenBSD: Makefile,v 1.3 2017/04/10 11:46:21 sthen Exp $
COMMENT= intepreter for Lindenmayer-systems
# CVS checkout on 04-30-2010
DISTNAME= lsys-0.8
CATEGORIES= graphics math
HOMEPAGE= http://software.schmorp.de/pkg/lsys
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://crappydiffs.org/
WANTLIB += GL GLU X11 Xext c m pthread ${LIBCXX}
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
post-extract:
@rm ${WRKSRC}/getopt*.{c,h}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lsys ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/lsys
${INSTALL_DATA} ${WRKSRC}/lib/{*.l,cfg} ${PREFIX}/share/examples/lsys
.include <bsd.port.mk>