1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

the gcdmaster port has been removed in 2018, remove some of its definition that

has been left in the cdrdao port
This commit is contained in:
Baptiste Daroussin 2020-09-19 11:04:49 +00:00
parent a68aba8537
commit db5b4a8694
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=548959

View File

@ -31,15 +31,6 @@ TOC2MP3_DESC= Build with toc2mp3 (requires audio/lame)
.include <bsd.port.options.mk>
.endif
.if ${PORTNAME} == "gcdmaster"
USES+= pkgconfig shared-mime-info
GCONF_SCHEMAS= gcdmaster.schemas
LIB_DEPENDS+= ${MP3OGG_LIB_DEPENDS} \
libgnomeuimm-2.6.so:x11-toolkits/libgnomeuimm26
RUN_DEPENDS+= ${LOCALBASE}/bin/cdrdao:sysutils/cdrdao \
${LOCALBASE}/share/mime/packages/freedesktop.org.xml:misc/shared-mime-info
CONFIGURE_ARGS+= --with-lame=no
.else
CONFIGURE_ARGS+= --with-gcdmaster=no
.if ${PORT_OPTIONS:MTOC2MP3}
LIB_DEPENDS+= libmp3lame.so:audio/lame
@ -63,7 +54,6 @@ CONFIGURE_ENV+= AO_CFLAGS=-I${LOCALBASE}/include \
.else
CONFIGURE_ARGS+= --with-mp3-support=no --with-ogg-support=no
.endif
.endif
.include <bsd.port.pre.mk>
@ -85,19 +75,6 @@ post-patch:
55readcd 55scgcheck 55scgskeleton 55rscsi 85man
@${RM} ${WRKSRC}/scsilib/TARGETS/${i}
.endfor
.if ${PORTNAME} == "gcdmaster"
@${REINPLACE_CMD} -E -e 's|(^SUBDIRS.+) utils|\1|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -E -e 's|(^gladedir.+=).+|\1 ${DATADIR}|' \
${WRKSRC}/gcdmaster/Makefile.in
@${REINPLACE_CMD} -E -e \
's|(SET_CDRDAO_PATH.+path=)(cdrdao)|\1${LOCALBASE}\/bin\/\2|g' \
${WRKSRC}/gcdmaster/Settings.cc
@${REINPLACE_CMD} -E -e \
's|(icon-filename=).+(gcdmaster-doc.png)|\1${LOCALBASE}\/share\/pixmaps\/document-icons\/\2|g' \
${WRKSRC}/gcdmaster/gcdmaster.keys
@${REINPLACE_CMD} -e 's|connect(SigC::slot|connect(sigc::ptr_fun|g' \
${WRKSRC}/gcdmaster/xcdrdao.cc
.else
.for i in cdrdao.man main.cc
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/dao/${i}
.endfor
@ -106,41 +83,7 @@ post-patch:
.for i in toc2cddb.1 toc2cue.1
@${REINPLACE_CMD} -e 's|1\.2\.2|${PORTVERSION}|g' ${WRKSRC}/utils/${i}
.endfor
.endif
.if ${PORTNAME} == "gcdmaster"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gcdmaster/gcdmaster \
${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/gcdmaster/gcdmaster.man \
${STAGEDIR}${PREFIX}/man/man1/gcdmaster.1
@${MKDIR} ${STAGEDIR}${LOCALBASE}/share/pixmaps/document-icons
${INSTALL_DATA} ${WRKSRC}/gcdmaster/gcdmaster-doc.png \
${STAGEDIR}${LOCALBASE}/share/pixmaps/document-icons
@${MKDIR} ${STAGEDIR}${LOCALBASE}/share/application-registry
${INSTALL_DATA} ${WRKSRC}/gcdmaster/gcdmaster.applications \
${STAGEDIR}${LOCALBASE}/share/application-registry
${INSTALL_DATA} ${WRKSRC}/gcdmaster/gcdmaster.desktop \
${STAGEDIR}${LOCALBASE}/share/applications
@${MKDIR} ${STAGEDIR}${LOCALBASE}/share/mime-info
${INSTALL_DATA} ${WRKSRC}/gcdmaster/gcdmaster.keys \
${STAGEDIR}${LOCALBASE}/share/mime-info
${INSTALL_DATA} ${WRKSRC}/gcdmaster/gcdmaster.mime \
${STAGEDIR}${LOCALBASE}/share/mime-info
${INSTALL_DATA} ${WRKSRC}/gcdmaster/gcdmaster.png \
${STAGEDIR}${LOCALBASE}/share/pixmaps
@${MKDIR} ${STAGEDIR}${LOCALBASE}/etc/gconf/schemas
${INSTALL_DATA} ${WRKSRC}/gcdmaster/gcdmaster.schemas \
${STAGEDIR}${LOCALBASE}/etc/gconf/schemas
@${MKDIR} ${STAGEDIR}${LOCALBASE}/share/mime/packages
${INSTALL_DATA} ${WRKSRC}/gcdmaster/gcdmaster.xml \
${STAGEDIR}${LOCALBASE}/share/mime/packages
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/gcdmaster/glade/Preferences.glade \
${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/gcdmaster/glade/ProjectChooser.glade \
${STAGEDIR}${DATADIR}
.else
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dao/cdrdao ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/dao/cdrdao.man \
@ -163,6 +106,5 @@ do-install-DOCS-on:
.for i in CREDITS ChangeLog README README.PlexDAE
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>