diff options
author | mat <mat@FreeBSD.org> | 2013-11-06 20:14:48 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2013-11-06 20:14:48 +0800 |
commit | 620cab5c7e7150e18653154d23f806d5e7a8fad4 (patch) | |
tree | 4d9e2feac35c5d19aabad5b2f6822ddd7e51d44a /audio | |
parent | e8014d48d914507d5d7f66b39440bb29109608e1 (diff) | |
download | freebsd-ports-gnome-620cab5c7e7150e18653154d23f806d5e7a8fad4.tar.gz freebsd-ports-gnome-620cab5c7e7150e18653154d23f806d5e7a8fad4.tar.zst freebsd-ports-gnome-620cab5c7e7150e18653154d23f806d5e7a8fad4.zip |
- Fix WITH=GTK2
- Stagify
- Use new options framework.
maintainer timeout.
PR: ports/183160
Submitted by: mat
Diffstat (limited to 'audio')
-rw-r--r-- | audio/mp3info/Makefile | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/audio/mp3info/Makefile b/audio/mp3info/Makefile index 0865d4ebffef..a572655d0e19 100644 --- a/audio/mp3info/Makefile +++ b/audio/mp3info/Makefile @@ -21,33 +21,26 @@ PORTDOCS= ChangeLog README mp3info.txt OPTIONS_DEFINE= GTK2 GTK2_DESC= Enable to have the gmp3info -PLIST_FILES= bin/mp3info \ - %%WITH_GTK%%bin/gmp3info +GTK2_USES= pkgconfig +GTK2_USE= GNOME=gtk20 +GTK2_ALL_TARGET= gmp3info +GTK2_PLIST_FILES= bin/gmp3info -MAN1= mp3info.1 -NO_STAGE= yes +PLIST_FILES= bin/mp3info man/man1/mp3info.1.gz ALL_TARGET= doc mp3info .include <bsd.port.options.mk> +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/mp3info ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/mp3info.1 ${STAGEDIR}${PREFIX}/man/man1 .if ${PORT_OPTIONS:MGTK2} -USE_GNOME+= gtk20 -ALL_TARGET+= gmp3info -MAKE_ARGS= install-gmp3info -PLIST_SUB+= WITH_GTK="" -.else -PLIST_SUB+= WITH_GTK="@comment " + ${INSTALL_PROGRAM} ${WRKSRC}/gmp3info ${STAGEDIR}${PREFIX}/bin .endif - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mp3info ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/mp3info.1 ${PREFIX}/man/man1 -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for docs in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR} -.endfor +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> |