diff options
author | Rusmir Dusko <nemysis@FreeBSD.org> | 2014-02-04 13:58:03 +0000 |
---|---|---|
committer | Rusmir Dusko <nemysis@FreeBSD.org> | 2014-02-04 13:58:03 +0000 |
commit | 805447cf962ff85b42c3b7d0d24cad38de617301 (patch) | |
tree | 1ef1addb9b402c8671e811291f5b6840da696cb5 /games/simsu | |
parent | dd21e450888dc4dc85f8250cb0d4730c49e703a3 (diff) | |
download | ports-805447cf962ff85b42c3b7d0d24cad38de617301.tar.gz ports-805447cf962ff85b42c3b7d0d24cad38de617301.zip |
Notes
Diffstat (limited to 'games/simsu')
-rw-r--r-- | games/simsu/Makefile | 13 | ||||
-rw-r--r-- | games/simsu/pkg-plist | 28 |
2 files changed, 26 insertions, 15 deletions
diff --git a/games/simsu/Makefile b/games/simsu/Makefile index 519a693d7674..fbab308acd3d 100644 --- a/games/simsu/Makefile +++ b/games/simsu/Makefile @@ -21,9 +21,20 @@ INSTALLS_ICONS= yes PORTDOCS= CREDITS ChangeLog -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes + +.include <bsd.port.options.mk> + +post-patch: +.if ! ${PORT_OPTIONS:MNLS} + @${REINPLACE_CMD} -i '' '/qm.files/,/qm.path/s/^/#/' \ + ${WRKSRC}/${PORTNAME}.pro +.endif post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ diff --git a/games/simsu/pkg-plist b/games/simsu/pkg-plist index a849a9a3386a..cb544b4cb1f6 100644 --- a/games/simsu/pkg-plist +++ b/games/simsu/pkg-plist @@ -11,17 +11,17 @@ share/icons/hicolor/64x64/apps/simsu.png share/icons/hicolor/scalable/apps/simsu.svg share/pixmaps/simsu.png share/pixmaps/simsu.xpm -%%DATADIR%%/translations/simsu_ca.qm -%%DATADIR%%/translations/simsu_cs.qm -%%DATADIR%%/translations/simsu_el.qm -%%DATADIR%%/translations/simsu_en.qm -%%DATADIR%%/translations/simsu_es.qm -%%DATADIR%%/translations/simsu_es_CL.qm -%%DATADIR%%/translations/simsu_fr.qm -%%DATADIR%%/translations/simsu_he.qm -%%DATADIR%%/translations/simsu_hu.qm -%%DATADIR%%/translations/simsu_ro.qm -%%DATADIR%%/translations/simsu_ru.qm -%%DATADIR%%/translations/simsu_uk.qm -@dirrm %%DATADIR%%/translations -@dirrm %%DATADIR%% +%%NLS%%%%DATADIR%%/translations/simsu_ca.qm +%%NLS%%%%DATADIR%%/translations/simsu_cs.qm +%%NLS%%%%DATADIR%%/translations/simsu_el.qm +%%NLS%%%%DATADIR%%/translations/simsu_en.qm +%%NLS%%%%DATADIR%%/translations/simsu_es.qm +%%NLS%%%%DATADIR%%/translations/simsu_es_CL.qm +%%NLS%%%%DATADIR%%/translations/simsu_fr.qm +%%NLS%%%%DATADIR%%/translations/simsu_he.qm +%%NLS%%%%DATADIR%%/translations/simsu_hu.qm +%%NLS%%%%DATADIR%%/translations/simsu_ro.qm +%%NLS%%%%DATADIR%%/translations/simsu_ru.qm +%%NLS%%%%DATADIR%%/translations/simsu_uk.qm +%%NLS%%@dirrm %%DATADIR%%/translations +%%NLS%%@dirrm %%DATADIR%% |