Makefile 589 B

12345678910111213141516171819202122232425
  1. # $OpenBSD: Makefile,v 1.18 2016/04/12 15:19:40 naddy Exp $
  2. COMMENT= Rich city simulation game for X
  3. DISTNAME= lincity-1.12.1
  4. CATEGORIES= games
  5. HOMEPAGE= http://lincity.sourceforge.net/
  6. REVISION= 0
  7. # GPLv2 only
  8. PERMIT_PACKAGE_CDROM= Yes
  9. WANTLIB= ICE SM X11 Xext c intl m
  10. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lincity/}
  11. LIB_DEPENDS= devel/gettext
  12. CONFIGURE_STYLE= gnu
  13. CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
  14. LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
  15. post-extract:
  16. @cd ${WRKSRC}; ln -s lincity.6 xlincity.6
  17. .include <bsd.port.mk>