diff options
author | sanpei <sanpei@FreeBSD.org> | 2014-06-18 20:10:22 +0800 |
---|---|---|
committer | sanpei <sanpei@FreeBSD.org> | 2014-06-18 20:10:22 +0800 |
commit | 1550e4f5bef43a7c9392606aa6df66f36a2285ca (patch) | |
tree | 8380185a4d60641cc5e0cc121d611a1cbf0dcf58 /sysutils | |
parent | 19eb3dc812f2a6ce3ba36d4f9b6d88694b1e297b (diff) | |
download | freebsd-ports-gnome-1550e4f5bef43a7c9392606aa6df66f36a2285ca.tar.gz freebsd-ports-gnome-1550e4f5bef43a7c9392606aa6df66f36a2285ca.tar.zst freebsd-ports-gnome-1550e4f5bef43a7c9392606aa6df66f36a2285ca.zip |
support stage.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/cdrdao/Makefile | 55 | ||||
-rw-r--r-- | sysutils/cdrdao/pkg-plist | 8 |
2 files changed, 32 insertions, 31 deletions
diff --git a/sysutils/cdrdao/Makefile b/sysutils/cdrdao/Makefile index 5f1f2335d3d0..926ac88bf953 100644 --- a/sysutils/cdrdao/Makefile +++ b/sysutils/cdrdao/Makefile @@ -28,10 +28,8 @@ LIB_DEPENDS+= ${MP3OGG_LIB_DEPENDS} \ gnomeuimm-2.6.1:${PORTSDIR}/x11-toolkits/libgnomeuimm26 RUN_DEPENDS+= ${LOCALBASE}/bin/cdrdao:${PORTSDIR}/sysutils/cdrdao \ ${LOCALBASE}/share/mime/packages/freedesktop.org.xml:${PORTSDIR}/misc/shared-mime-info -MAN1= gcdmaster.1 CONFIGURE_ARGS+= --with-lame=no .else -MAN1= cdrdao.1 cue2toc.1 toc2cddb.1 toc2cue.1 CONFIGURE_ARGS+= --with-xdao=no .if defined(WITH_TOC2MP3) LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame @@ -61,7 +59,6 @@ CONFIGURE_ARGS+= --without-pcctsbin --without-pcctsinc \ MAKE_ENV= CCOM=cc LANG=C SCSILIBTARGET= ${ARCH:S/powerpc64/powerpc/}-freebsd-cc -NO_STAGE= yes .include <bsd.port.pre.mk> pre-everything:: @@ -121,46 +118,46 @@ post-patch: do-install: .if ${PORTNAME} == "gcdmaster" - @${INSTALL_PROGRAM} ${WRKSRC}/xdao/gcdmaster ${PREFIX}/bin + @${INSTALL_PROGRAM} ${WRKSRC}/xdao/gcdmaster ${STAGEDIR}${PREFIX}/bin @${INSTALL_MAN} ${WRKSRC}/xdao/gcdmaster.man \ - ${PREFIX}/man/man1/gcdmaster.1 + ${STAGEDIR}${PREFIX}/man/man1/gcdmaster.1 @${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster-doc.png \ - ${LOCALBASE}/share/pixmaps/document-icons + ${STAGEDIR}${LOCALBASE}/share/pixmaps/document-icons @${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.applications \ - ${LOCALBASE}/share/application-registry + ${STAGEDIR}${LOCALBASE}/share/application-registry @${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.desktop \ - ${LOCALBASE}/share/applications + ${STAGEDIR}${LOCALBASE}/share/applications @${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.keys \ - ${LOCALBASE}/share/mime-info + ${STAGEDIR}${LOCALBASE}/share/mime-info @${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.mime \ - ${LOCALBASE}/share/mime-info + ${STAGEDIR}${LOCALBASE}/share/mime-info @${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.png \ - ${LOCALBASE}/share/pixmaps + ${STAGEDIR}${LOCALBASE}/share/pixmaps @${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.schemas \ - ${LOCALBASE}/etc/gconf/schemas + ${STAGEDIR}${LOCALBASE}/etc/gconf/schemas @${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.xml \ - ${LOCALBASE}/share/mime/packages - @${MKDIR} ${DATADIR} - @${INSTALL_DATA} ${WRKSRC}/xdao/glade/Preferences.glade ${DATADIR} - @${INSTALL_DATA} ${WRKSRC}/xdao/glade/ProjectChooser.glade ${DATADIR} + ${STAGEDIR}${LOCALBASE}/share/mime/packages + @${MKDIR} ${STAGEDIR}${DATADIR} + @${INSTALL_DATA} ${WRKSRC}/xdao/glade/Preferences.glade ${STAGEDIR}${DATADIR} + @${INSTALL_DATA} ${WRKSRC}/xdao/glade/ProjectChooser.glade ${STAGEDIR}${DATADIR} .else - @${INSTALL_PROGRAM} ${WRKSRC}/dao/cdrdao ${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/dao/cdrdao.man ${PREFIX}/man/man1/cdrdao.1 - @${INSTALL_PROGRAM} ${WRKSRC}/utils/cue2toc ${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/utils/cue2toc.1 ${PREFIX}/man/man1 - @${INSTALL_PROGRAM} ${WRKSRC}/utils/toc2cddb ${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/utils/toc2cddb.1 ${PREFIX}/man/man1 - @${INSTALL_PROGRAM} ${WRKSRC}/utils/toc2cue ${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/utils/toc2cue.1 ${PREFIX}/man/man1 - @${MKDIR} ${DATADIR} - @${INSTALL_DATA} ${WRKSRC}/dao/cdrdao.drivers ${DATADIR}/drivers + @${INSTALL_PROGRAM} ${WRKSRC}/dao/cdrdao ${STAGEDIR}${PREFIX}/bin + @${INSTALL_MAN} ${WRKSRC}/dao/cdrdao.man ${STAGEDIR}${PREFIX}/man/man1/cdrdao.1 + @${INSTALL_PROGRAM} ${WRKSRC}/utils/cue2toc ${STAGEDIR}${PREFIX}/bin + @${INSTALL_MAN} ${WRKSRC}/utils/cue2toc.1 ${STAGEDIR}${PREFIX}/man/man1 + @${INSTALL_PROGRAM} ${WRKSRC}/utils/toc2cddb ${STAGEDIR}${PREFIX}/bin + @${INSTALL_MAN} ${WRKSRC}/utils/toc2cddb.1 ${STAGEDIR}${PREFIX}/man/man1 + @${INSTALL_PROGRAM} ${WRKSRC}/utils/toc2cue ${STAGEDIR}${PREFIX}/bin + @${INSTALL_MAN} ${WRKSRC}/utils/toc2cue.1 ${STAGEDIR}${PREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${DATADIR} + @${INSTALL_DATA} ${WRKSRC}/dao/cdrdao.drivers ${STAGEDIR}${DATADIR}/drivers .if defined(WITH_TOC2MP3) - @${INSTALL_PROGRAM} ${WRKSRC}/utils/toc2mp3 ${PREFIX}/bin + @${INSTALL_PROGRAM} ${WRKSRC}/utils/toc2mp3 ${STAGEDIR}{PREFIX}/bin .endif .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in CREDITS ChangeLog README README.PlexDAE - @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .endif .endif diff --git a/sysutils/cdrdao/pkg-plist b/sysutils/cdrdao/pkg-plist index d4549681c7f0..06f80e4183d3 100644 --- a/sysutils/cdrdao/pkg-plist +++ b/sysutils/cdrdao/pkg-plist @@ -4,10 +4,14 @@ bin/toc2cddb bin/toc2cue %%TOC2MP3%%bin/toc2mp3 @unexec if [ -f %D/etc/cdrdao.conf ]; then echo "If permanently deleting this package, %D/etc/cdrdao.conf must be removed manually."; fi +man/man1/cdrdao.1.gz +man/man1/cue2toc.1.gz +man/man1/toc2cddb.1.gz +man/man1/toc2cue.1.gz %%DATADIR%%/drivers -@dirrm %%DATADIR%% +@dirrmtry %%DATADIR%% %%PORTDOCS%%%%DOCSDIR%%/CREDITS %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/README.PlexDAE -%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTDOCS%%@dirrmtry %%DOCSDIR%% |