diff options
author | bapt <bapt@FreeBSD.org> | 2013-04-26 20:35:50 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-04-26 20:35:50 +0800 |
commit | 3b719f87a14768433dc0cd06f301eeaf9c02fa43 (patch) | |
tree | 94d53c5c905021f480b1c80529f6919181c4c73b /sysutils/tkdvd | |
parent | 6ed47115f3cf9c141188528e8863513cfade4cd8 (diff) | |
download | freebsd-ports-gnome-3b719f87a14768433dc0cd06f301eeaf9c02fa43.tar.gz freebsd-ports-gnome-3b719f87a14768433dc0cd06f301eeaf9c02fa43.tar.zst freebsd-ports-gnome-3b719f87a14768433dc0cd06f301eeaf9c02fa43.zip |
Remove USE_CDRTOOLS from bsd.port.mk
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
Diffstat (limited to 'sysutils/tkdvd')
-rw-r--r-- | sysutils/tkdvd/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/sysutils/tkdvd/Makefile b/sysutils/tkdvd/Makefile index 84324f67a54d..eee3935f5a39 100644 --- a/sysutils/tkdvd/Makefile +++ b/sysutils/tkdvd/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: tkdvd -# Date created: 01 Sep 2008 -# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org> -# +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> # $FreeBSD$ -# PORTNAME= tkdvd PORTVERSION= 4.0.9 @@ -15,11 +11,11 @@ MASTER_SITES= http://regis.damongeot.free.fr/tkdvd/dl/ \ MAINTAINER= amdmi3@FreeBSD.org COMMENT= GUI to dvd+rw-tools and cdrecord -RUN_DEPENDS= growisofs:${PORTSDIR}/sysutils/dvd+rw-tools +RUN_DEPENDS= growisofs:${PORTSDIR}/sysutils/dvd+rw-tools \ + cdrecord:${PORTSDIR}/sysutils/cdrtools USE_TCL= 84+ USE_TK= 84+ -USE_CDRTOOLS= yes WRKSRC= ${WRKDIR}/${PORTNAME} @@ -33,6 +29,8 @@ DESKTOP_ENTRIES="TkDVD" \ "" \ true +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e 's|tclsh|${TCLSH}|' ${WRKSRC}/install.tcl \ ${WRKSRC}/configure @@ -47,7 +45,7 @@ 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 !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/FAQ ${WRKSRC}/doc/c* \ ${DOCSDIR} |