diff options
author | eadler <eadler@FreeBSD.org> | 2013-10-24 06:40:22 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2013-10-24 06:40:22 +0800 |
commit | 4f013c6d72a7c04ef31700ee47565b7c6f5f0baa (patch) | |
tree | cd19d17fe74293b91011905582b5574a34981159 /games | |
parent | e498604ac7524b714e0f970870c43edc5aab35b8 (diff) | |
download | freebsd-ports-gnome-4f013c6d72a7c04ef31700ee47565b7c6f5f0baa.tar.gz freebsd-ports-gnome-4f013c6d72a7c04ef31700ee47565b7c6f5f0baa.tar.zst freebsd-ports-gnome-4f013c6d72a7c04ef31700ee47565b7c6f5f0baa.zip |
Simplify port by using a static pkg-plist instead of an in-port generated one.
Diffstat (limited to 'games')
-rw-r--r-- | games/gtklife/Makefile | 24 | ||||
-rw-r--r-- | games/gtklife/pkg-plist | 13 |
2 files changed, 17 insertions, 20 deletions
diff --git a/games/gtklife/Makefile b/games/gtklife/Makefile index 17f409979159..cc026866d3ce 100644 --- a/games/gtklife/Makefile +++ b/games/gtklife/Makefile @@ -3,23 +3,21 @@ PORTNAME= gtklife PORTVERSION= 5.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= games MASTER_SITES= http://ironphoenix.org/tril/gtklife/ MAINTAINER= eadler@FreeBSD.org -COMMENT= GTK+ implementation of Conway's Game of Life +COMMENT= GTK+ implementation of Conways Game of Life LICENSE= GPLv2 WANT_GNOME= yes INSTALLS_ICONS= yes -USES= gmake +USES= gmake MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" PREFIX="${PREFIX}" docdir="${DOCSDIR}" -PLIST= ${WRKDIR}/pkg-plist -PLIST_FILES= bin/gtklife -PLIST_DIRS= %%DATADIR%% +PORTDATA= * PORTDOCS= * DATA_SUBDIRS= graphics patterns @@ -49,20 +47,6 @@ STARTUP_NOTIFY= false post-patch: @${REINPLACE_CMD} -e 's|gtk-config|${GTK_CONFIG}|' ${WRKSRC}/Makefile -pre-install: - @cd ${WRKSRC} && >${PLIST} && \ - ${FIND} ${DATA_SUBDIRS} ! -type d | ${SORT} \ - | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \ - ${FIND} ${DATA_SUBDIRS} -type d ! -empty | ${SORT} -r \ - | ${SED} -e 's|^|@dirrm %%DATADIR%%/|' >> ${PLIST} -.for s in ${ICON_SIZES} - @${ECHO_CMD} "share/icons/hicolor/${s}/apps/gtklife.png" >> ${PLIST} - @${ECHO_CMD} "@dirrmtry share/icons/hicolor/${s}/apps" >> ${PLIST} - @${ECHO_CMD} "@dirrmtry share/icons/hicolor/${s}" >> ${PLIST} -.endfor - @${ECHO_CMD} "@dirrmtry share/icons/hicolor" >> ${PLIST} - @${ECHO_CMD} "@dirrmtry share/icons" >> ${PLIST} - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gtklife ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC} && \ diff --git a/games/gtklife/pkg-plist b/games/gtklife/pkg-plist new file mode 100644 index 000000000000..27e5b2f58851 --- /dev/null +++ b/games/gtklife/pkg-plist @@ -0,0 +1,13 @@ +bin/gtklife +share/icons/hicolor/16x16/apps/gtklife.png +share/icons/hicolor/32x32/apps/gtklife.png +share/icons/hicolor/48x48/apps/gtklife.png +@dirrmtry share/icons/hicolor/48x48/apps +@dirrmtry share/icons/hicolor/48x48 +@dirrmtry share/icons/hicolor/32x32/apps +@dirrmtry share/icons/hicolor/32x32 +@dirrmtry share/icons/hicolor/16x16/apps +@dirrmtry share/icons/hicolor/16x16 +@dirrmtry share/icons/hicolor +@dirrmtry share/icons +@dirrmtry share/applications |