openbsd-ports/sysutils/tkdvd/Makefile
steven cecd5a2f05 - fix cd device
- remove unneeded configure
- don't hardcode /usr/local
- NO_REGRESS
2006-12-24 06:46:04 +00:00

45 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2006/12/24 06:46:04 steven Exp $
COMMENT= "GUI to dvd+rw-tools and cdrecord"
DISTNAME= tkdvd-4.0.4
PKGNAME= ${DISTNAME}p0
CATEGORIES= sysutils
HOMEPAGE= http://regis.damongeot.free.fr/tkdvd/
MAINTAINER= Vlad Glagolev <stelzy@gmail.com>
# 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>