mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
dba80fffe4
This macros has been useless since cdrtools-cjk port has gone. This macros also lead to badly handled dependencies assuming that the dependency on cdrtools was most BUILD and RUN dependency. While most of the time it is simply a RUN dependency and sometime a build one. While here: - Trim some headers - Convert some ports to optionsng - Convert some ports to USES= gettext
55 lines
1.2 KiB
Makefile
55 lines
1.2 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tkdvd
|
|
PORTVERSION= 4.0.9
|
|
PORTREVISION= 3
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://regis.damongeot.free.fr/tkdvd/dl/ \
|
|
http://mirror.amdmi3.ru/distfiles/
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= GUI to dvd+rw-tools and cdrecord
|
|
|
|
RUN_DEPENDS= growisofs:${PORTSDIR}/sysutils/dvd+rw-tools \
|
|
cdrecord:${PORTSDIR}/sysutils/cdrtools
|
|
|
|
USE_TCL= 84+
|
|
USE_TK= 84+
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
PLIST_FILES= bin/tkdvd share/pixmaps/tkdvd.png
|
|
PORTDOCS= *
|
|
|
|
DESKTOP_ENTRIES="TkDVD" \
|
|
"Burn CD/DVD" \
|
|
"tkdvd" \
|
|
"tkdvd" \
|
|
"" \
|
|
true
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|tclsh|${TCLSH}|' ${WRKSRC}/install.tcl \
|
|
${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's|wish|${WISH}|' ${WRKSRC}/TkDVD.sh
|
|
@${REINPLACE_CMD} -e 's|/dev/sr0|/dev/cd0|' ${WRKSRC}/TkDVD.sh \
|
|
${WRKSRC}/src/save_load_options.tcl
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${TCLSH} install.tcl
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tkdvd-install.sh ${PREFIX}/bin/tkdvd
|
|
${INSTALL_DATA} ${WRKSRC}/icons/tkdvd-2-48.png \
|
|
${PREFIX}/share/pixmaps/tkdvd.png
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/FAQ ${WRKSRC}/doc/c* \
|
|
${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|