diff options
author | deischen <deischen@FreeBSD.org> | 2013-07-13 01:32:04 +0800 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2013-07-13 01:32:04 +0800 |
commit | 8983ba075bcb0e97e75d55c695b3f126d3bb86e1 (patch) | |
tree | 83db4590c024edd99efb653e5a7a77c4d3f8fcae /games/fbg2 | |
parent | 1d8b1b0f9ebdc28a4c3111a8315b8d66cb8dc1f8 (diff) | |
download | freebsd-ports-gnome-8983ba075bcb0e97e75d55c695b3f126d3bb86e1.tar.gz freebsd-ports-gnome-8983ba075bcb0e97e75d55c695b3f126d3bb86e1.tar.zst freebsd-ports-gnome-8983ba075bcb0e97e75d55c695b3f126d3bb86e1.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
Diffstat (limited to 'games/fbg2')
-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> |