convert to tk.port.mk; fixes pkgspec. add license marker.

This commit is contained in:
sthen 2009-03-13 13:05:05 +00:00
parent 071e3b2f46
commit fcb9458ab8

View File

@ -1,15 +1,18 @@
# $OpenBSD: Makefile,v 1.22 2007/09/15 21:26:03 simon Exp $
# $OpenBSD: Makefile,v 1.23 2009/03/13 13:05:05 sthen Exp $
COMMENT= Tcl/Tk CD player
DISTNAME= xcd-1.7
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= audio
# custom free license; see top of cdplayer.cc
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m stdc++
MODULES= x11/tk
WANTLIB= c m stdc++
MASTER_SITES= ${MASTER_SITE_FREEBSD_LOCAL:=jmz/}
@ -22,12 +25,12 @@ FAKE_FLAGS= BINDIR=${WRKINST}${PREFIX}/bin \
MANDIR=${WRKINST}${PREFIX}/man/man1
WRKDIST= ${WRKDIR}/xcd
TK_VERSION= 8.4
RUN_DEPENDS= :tk-${TK_VERSION}.*:x11/tk/${TK_VERSION}
MODTK_VERSION= 8.4
RUN_DEPENDS= ${MODTK_RUN_DEPENDS}
NO_REGRESS= Yes
do-configure:
@perl -pi -e "s,!!WISH!!,${LOCALBASE}/bin/wish${TK_VERSION}," ${WRKDIST}/xcd.in
@perl -pi -e "s,!!WISH!!,${MODTK_BIN}," ${WRKDIST}/xcd.in
.include <bsd.port.mk>