openbsd-ports/sysutils/tkdvd/Makefile
2007-11-13 20:05:00 +00:00

45 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2007/11/13 20:05:00 jasper Exp $
COMMENT= GUI to dvd+rw-tools and cdrecord
DISTNAME= tkdvd-4.0.6
PKGNAME= ${DISTNAME}p0
CATEGORIES= sysutils
HOMEPAGE= http://regis.damongeot.free.fr/tkdvd/
MAINTAINER= Vlad Glagolev <stealth@sourcemage.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE:=dl/}
WRKDIST= ${WRKDIR}/tkdvd
BUILD_DEPENDS= :tcl-8.4*:lang/tcl/8.4
RUN_DEPENDS= ::sysutils/cdrtools \
::sysutils/dvd+rw-tools \
:tk-8.4*:x11/tk/8.4
NO_REGRESS= Yes
pre-build:
@perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},' \
${WRKSRC}/{install.tcl,TkDVD.sh}
do-build:
cd ${WRKDIST} && ./install.tcl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tkdvd-install.sh ${PREFIX}/bin/tkdvd
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/tkdvd
${INSTALL_DATA} ${WRKSRC}/icons/*.png ${PREFIX}/share/icons/tkdvd
${INSTALL_DATA_DIR} ${PREFIX}/share/tkdvd
${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/tkdvd
.include <bsd.port.mk>