Makefile 849 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $OpenBSD: Makefile,v 1.2 2013/03/11 11:07:40 espie Exp $
  2. COMMENT= pacman clone gone mad
  3. DISTNAME= pacman-arena-0.15
  4. EXTRACT_SUFX= .tar.bz2
  5. DISTDATA= pacman-data-0.0.zip
  6. ONLY_EXTRACT= ${DISTNAME}${EXTRACT_SUFX}
  7. DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
  8. ${DISTDATA}
  9. WRKDIST= ${WRKDIR}/pacman
  10. CATEGORIES= games
  11. HOMEPAGE= http://pacmanarena.sourceforge.net/
  12. # GPLv2
  13. PERMIT_PACKAGE_CDROM= Yes
  14. WANTLIB += GL GLU SDL SDL_mixer SDL_net c m pthread
  15. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pacmanarena/}
  16. BUILD_DEPENDS= archivers/unzip
  17. LIB_DEPENDS= devel/sdl-mixer \
  18. devel/sdl-net
  19. NO_TEST= Yes
  20. CONFIGURE_STYLE=gnu
  21. do-install:
  22. ${INSTALL_DATA_DIR} ${PREFIX}/share/pacman
  23. ${INSTALL_PROGRAM} ${WRKBUILD}/pacman ${PREFIX}/bin/pacman-arena
  24. ${LOCALBASE}/bin/unzip ${FULLDISTDIR}/${DISTDATA} \
  25. -d ${PREFIX}/share/pacman
  26. .include <bsd.port.mk>