diff options
author | Daniel Eischen <deischen@FreeBSD.org> | 2013-07-12 17:32:04 +0000 |
---|---|---|
committer | Daniel Eischen <deischen@FreeBSD.org> | 2013-07-12 17:32:04 +0000 |
commit | 71a3681af63ce7245cf403e95fb0a9144046c9da (patch) | |
tree | 83db4590c024edd99efb653e5a7a77c4d3f8fcae /games/fbg2/Makefile | |
parent | 5d2b74f4cbde679192cd97482928d9d054dc1e59 (diff) | |
download | ports-71a3681af63ce7245cf403e95fb0a9144046c9da.tar.gz ports-71a3681af63ce7245cf403e95fb0a9144046c9da.zip |
From the maintainer:
- Shorten header
- Trim dependency for graphics/radius-engine
- Trim PLIST_FILES and PLIST_DIRS
- Add DOCS Option
PR: 179922
Submitted by: nemysis at gmx dot ch
Notes
Notes:
svn path=/head/; revision=322857
Diffstat (limited to 'games/fbg2/Makefile')
-rw-r--r-- | games/fbg2/Makefile | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/games/fbg2/Makefile b/games/fbg2/Makefile index f62a8275b9fa..84b558465707 100644 --- a/games/fbg2/Makefile +++ b/games/fbg2/Makefile @@ -1,9 +1,5 @@ -# New Ports collection makefile for: Falling Block Game -# Date created: 2012-05-18 -# Whom: nemysis@gmx.ch -# +# Created by: nemysis <nemysis@gmx.ch> # $FreeBSD$ -# PORTNAME= fbg2 PORTVERSION= 0.4 @@ -21,32 +17,36 @@ LICENSE_FILE= ${WRKSRC}/License.txt LICENSE_FILE_CCbyNCSA3=${WRKSRC}/License.txt LICENSE_PERMS_CCbyNCSA3=dist-mirror pkg-mirror auto-accept -BUILD_DEPENDS= ${LOCALBASE}/include/radius.h:${PORTSDIR}/graphics/radius-engine +BUILD_DEPENDS= ${LOCALBASE}/lib/libradius-engine.a:${PORTSDIR}/graphics/radius-engine LIB_DEPENDS= lua-5.1:${PORTSDIR}/lang/lua \ png15:${PORTSDIR}/graphics/png \ physfs.1:${PORTSDIR}/devel/physfs RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip -GNU_CONFIGURE= yes -ALL_TARGET= ${PORTNAME} +USES= pkgconfig USE_SDL= sdl sound USE_GL= glu +GNU_CONFIGURE= yes +ALL_TARGET= ${PORTNAME} MAKE_JOBS_SAFE= yes PLIST_FILES= bin/${PORTNAME} \ share/applications/${PORTNAME}.desktop \ - share/pixmaps/${PORTNAME}.png + share/pixmaps/${PORTNAME}.png \ + %%DATADIR%%/${PORTNAME}.zip +PLIST_DIRS= %%DATADIR%% PLIST_DIRSTRY= share/applications -PORTDATA= * PORTDOCS= ChangeLog +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> post-install: .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif .include <bsd.port.mk> |