aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-10-19 07:00:00 +0800
committerbapt <bapt@FreeBSD.org>2013-10-19 07:00:00 +0800
commit60797d0b111fa4d7d4ce8eb173fe1270a1712e7d (patch)
tree9178576be03e01cf30a46d9a7f708b26c26b629d /audio
parent38c5dc3ce0229319f6c0c07ec86e1ea5d886d2ed (diff)
downloadfreebsd-ports-gnome-60797d0b111fa4d7d4ce8eb173fe1270a1712e7d.tar.gz
freebsd-ports-gnome-60797d0b111fa4d7d4ce8eb173fe1270a1712e7d.tar.zst
freebsd-ports-gnome-60797d0b111fa4d7d4ce8eb173fe1270a1712e7d.zip
Enable staging,
Strip binary Convert LIB_DEPENDS to new format Add missing desktop-file-utils
Diffstat (limited to 'audio')
-rw-r--r--audio/gogglesmm/Makefile31
-rw-r--r--audio/gogglesmm/pkg-plist7
2 files changed, 17 insertions, 21 deletions
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 <bsd.port.options.mk>
-
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 <bsd.port.mk>
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