diff options
author | Steve Price <steve@FreeBSD.org> | 2000-09-05 01:18:48 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-09-05 01:18:48 +0000 |
commit | bff4784d93d512a3b9b33b93c8c0a19a87972e09 (patch) | |
tree | d39dcd1fce11e01514afe5a684f6397dbc2eef03 /games/hex/Makefile | |
parent | 5a4970805b8740eb94a69a66a07ca182727e7ffc (diff) |
- Support PREFIX properly
- Remove USE_GMAKE
PR: 21031
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes:
svn path=/head/; revision=32265
Diffstat (limited to 'games/hex/Makefile')
-rw-r--r-- | games/hex/Makefile | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/games/hex/Makefile b/games/hex/Makefile index 6ab48d968bc3..27fe809255fd 100644 --- a/games/hex/Makefile +++ b/games/hex/Makefile @@ -13,25 +13,20 @@ MASTER_SITES= http://www.nott.ac.uk/~psystrj/ \ MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= Imlib.5:${PORTSDIR}/graphics/imlib +LIB_DEPENDS= gdk_imlib.5:${PORTSDIR}/graphics/imlib -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - -WRKSRC= ${WRKDIR}/${DISTNAME} USE_X_PREFIX= YES -USE_GMAKE= YES -MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}" +MAKE_ENV= GRAPHICPATH="${GRAPHICPATH}" LEVELPATH="${LEVELPATH}" + +GRAPHICPATH= ${PREFIX}/share/hex/graphics +LEVELPATH= ${PREFIX}/share/hex/levels do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hex ${PREFIX}/bin - @${MKDIR} ${PREFIX}/share/hex/graphics -.for i in 0 1 2 3 4 5 6 7 8 - ${INSTALL_DATA} ${WRKSRC}/graphics/ball${i}.png \ - ${PREFIX}/share/hex/graphics/ball${i}.png -.endfor - @${MKDIR} ${PREFIX}/share/hex/levels - ${INSTALL_DATA} ${WRKSRC}/levels/Level1 \ - ${PREFIX}/share/hex/levels/Level1 + @${MKDIR} ${GRAPHICPATH} + ${INSTALL_DATA} ${WRKSRC}/graphics/*.png ${GRAPHICPATH} + @${MKDIR} ${LEVELPATH} + ${INSTALL_DATA} ${WRKSRC}/levels/Level1 ${LEVELPATH} .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/hex .for file in HISTORY README TODO |