openbsd-ports/games/lincity/Makefile

26 lines
627 B
Makefile

# $OpenBSD: Makefile,v 1.21 2019/07/12 20:46:20 sthen Exp $
COMMENT= Rich city simulation game for X
DISTNAME= lincity-1.13.1
CATEGORIES= games
HOMEPAGE= http://lincity.sourceforge.net/
REVISION= 0
# GPLv2 only
PERMIT_PACKAGE= Yes
WANTLIB += ICE SM X11 Xext c iconv intl m png xcb z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lincity/}
LIB_DEPENDS= devel/gettext,-runtime \
graphics/png
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
post-extract:
@cd ${WRKSRC}; ln -s lincity.6 xlincity.6
.include <bsd.port.mk>