diff options
Diffstat (limited to 'audio/gmpc/Makefile')
-rw-r--r-- | audio/gmpc/Makefile | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/audio/gmpc/Makefile b/audio/gmpc/Makefile index d2476f079548..f0da64e01a79 100644 --- a/audio/gmpc/Makefile +++ b/audio/gmpc/Makefile @@ -6,39 +6,40 @@ # PORTNAME= gmpc -PORTVERSION= 0.11.2 -PORTREVISION= 3 +PORTVERSION= 0.13.0 PORTEPOCH= 1 CATEGORIES= audio -MASTER_SITES= http://mercury.chem.pitt.edu/~shank/ \ - http://download.qballcow.nl/programs/gmpc/ +MASTER_SITES= http://download.qballcow.nl/programs/gmpc-0.13/ -MAINTAINER= ports@mark.reidel.info +MAINTAINER= redchrom@gmail.com COMMENT= Tray-aware GTK2 client for musicpd +LIB_DEPENDS= mpd:${PORTSDIR}/audio/libmpd + GNU_CONFIGURE= yes USE_GNOME= libglade2 gnomevfs2 -CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" \ - -CFLAGS+= -I${PREFIX}/include +USE_X_PREFIX= yes OPTIONS= NLS "Native language support" on +.include <bsd.port.pre.mk> + .if !defined(WITHOUT_NLS) +USE_GETTEXT= yes PLIST_FILES+= share/locale/fr/LC_MESSAGES/gmpc.mo +PLIST_FILES+= share/locale/ru/LC_MESSAGES/gmpc.mo .endif -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/gmpc ${PREFIX}/bin/ - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/pixmaps/*.png ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/glade/*.glade ${DATADIR} +post-patch: + @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \ + ${WRKSRC}/data/Makefile.in + +post-install: .if !defined(WITHOUT_NLS) -.for language in fr +.for language in fr ru ${MKDIR} ${LOCALBASE}/share/locale/${language}/LC_MESSAGES ${INSTALL_DATA} ${WRKSRC}/po/${language}.gmo ${PREFIX}/share/locale/${language}/LC_MESSAGES/gmpc.mo .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |