From 60797d0b111fa4d7d4ce8eb173fe1270a1712e7d Mon Sep 17 00:00:00 2001 From: bapt Date: Fri, 18 Oct 2013 23:00:00 +0000 Subject: Enable staging, Strip binary Convert LIB_DEPENDS to new format Add missing desktop-file-utils --- audio/gogglesmm/Makefile | 31 +++++++++++++------------------ audio/gogglesmm/pkg-plist | 7 ++++--- 2 files changed, 17 insertions(+), 21 deletions(-) (limited to 'audio/gogglesmm') diff --git a/audio/gogglesmm/Makefile b/audio/gogglesmm/Makefile index 1874940b10b6..656039c47de0 100644 --- a/audio/gogglesmm/Makefile +++ b/audio/gogglesmm/Makefile @@ -3,7 +3,7 @@ PORTNAME= gogglesmm PORTVERSION= 0.12.7 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= audio MASTER_SITES= GOOGLE_CODE @@ -31,43 +31,38 @@ OPTIONS_SUB= yes HAS_CONFIGURE= yes CONFIGURE_ARGS+= --mandir=${PREFIX}/man --prefix=${PREFIX} -USES= pkgconfig gmake -NO_STAGE= yes +USES= pkgconfig gmake desktop-file-utils USE_XZ= yes +MAKE_ARGS= CXX="${CXX}" LINK="${CXX}" INSTALLS_ICONS= yes -MAN1= gogglesmm.1 PORTDOCS= README AUTHORS -FOX16_LIB_DEPENDS= FOX-1.6:${PORTSDIR}/x11-toolkits/fox16 -FOX17_LIB_DEPENDS= FOX-1.7:${PORTSDIR}/x11-toolkits/fox17 +FOX16_LIB_DEPENDS= libFOX-1.6.so:${PORTSDIR}/x11-toolkits/fox16 +FOX17_LIB_DEPENDS= libFOX-1.7.so:${PORTSDIR}/x11-toolkits/fox17 -GCRYPT_LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt +GCRYPT_LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt GCRYPT_CONFIGURE_ON= --with-md5=gcrypt GCRYPT_CONFIGURE_OFF= --with-md5=internal -DBUS_LIB_DEPENDS= dbus-1:${PORTSDIR}/devel/dbus +DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus DBUS_CONFIGURE_OFF= --with-dbus -CURL_LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl +CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl CURL_CONFIGURE_OFF= --without-curl NLS_USES= gettext +NLS_LDFLAGS= -lintl NLS_CONFIGURE_OFF= --disable-nls NEWREMOTE_CONFIGURE_OFF= --without-new-remote -.include - pre-install: - @${MKDIR} ${PREFIX}/share/applications + @${MKDIR} ${STAGEDIR}${PREFIX}/share/applications post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} -. for FILE in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} -. endfor -.endif + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/audio/gogglesmm/pkg-plist b/audio/gogglesmm/pkg-plist index 9855ee0eeae5..3e423dcfae83 100644 --- a/audio/gogglesmm/pkg-plist +++ b/audio/gogglesmm/pkg-plist @@ -1,4 +1,5 @@ bin/gogglesmm +man/man1/gogglesmm.1.gz share/applications/gogglesmm.desktop share/icons/hicolor/16x16/apps/gogglesmm.png share/icons/hicolor/22x22/apps/gogglesmm.png @@ -6,14 +7,13 @@ share/icons/hicolor/24x24/apps/gogglesmm.png share/icons/hicolor/32x32/apps/gogglesmm.png share/icons/hicolor/48x48/apps/gogglesmm.png share/icons/hicolor/scalable/apps/gogglesmm.svg +%%NLS%%share/locale/cs/LC_MESSAGES/gogglesmm.mo %%NLS%%share/locale/de/LC_MESSAGES/gogglesmm.mo %%NLS%%share/locale/es/LC_MESSAGES/gogglesmm.mo %%NLS%%share/locale/fr/LC_MESSAGES/gogglesmm.mo -%%NLS%%share/locale/ru/LC_MESSAGES/gogglesmm.mo %%NLS%%share/locale/hu/LC_MESSAGES/gogglesmm.mo -%%NLS%%share/locale/cs/LC_MESSAGES/gogglesmm.mo %%NLS%%share/locale/pt/LC_MESSAGES/gogglesmm.mo -@dirrmtry share/applications +%%NLS%%share/locale/ru/LC_MESSAGES/gogglesmm.mo @dirrmtry share/icons/hicolor/scalable/apps @dirrmtry share/icons/hicolor/scalable @dirrmtry share/icons/hicolor/48x48/apps @@ -28,3 +28,4 @@ share/icons/hicolor/scalable/apps/gogglesmm.svg @dirrmtry share/icons/hicolor/16x16 @dirrmtry share/icons/hicolor @dirrmtry share/icons +@dirrmtry share/applications -- cgit