2002-12-29 15:31:39 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2002/12/29 20:31:41 fgsch Exp $
|
2001-11-11 09:11:30 -05:00
|
|
|
|
|
|
|
COMMENT= "Small menubar for X11 written in Perl/Tk"
|
|
|
|
V= 1.18
|
|
|
|
DISTNAME= belt-${V}
|
|
|
|
CATEGORIES= x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.stacken.kth.se/~maxz/programming/perl/index.html\#belt
|
|
|
|
MASTER_SITES= ${HOMEPAGE:S/index.html\#belt//}
|
|
|
|
MAINTAINER= Heikki Korpela <heko@openbsd.org>
|
|
|
|
|
|
|
|
DISTFILES= belt-${V} menu.conf.EXAMPLE belticons.tar.gz
|
|
|
|
DIST_SUBDIR= belt
|
|
|
|
|
|
|
|
# License: BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
WRKDIST= ${WRKDIR}
|
|
|
|
EXTRACT_ONLY= belticons.tar.gz
|
|
|
|
|
2001-11-13 17:13:22 -05:00
|
|
|
RUN_DEPENDS= ::x11/p5-Tk
|
2001-11-11 09:11:30 -05:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@cp ${FULLDISTDIR}/belt-${V} ${WRKDIR}/
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@perl -pi -e 's,/usr/local/belt/icons,${PREFIX}/share/belt/icons,g; ' \
|
|
|
|
-e 's,/usr/local/bin/perl,/usr/bin/perl,' \
|
|
|
|
${WRKDIR}/belt-${V}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/belt-${V} ${PREFIX}/bin/belt
|
|
|
|
/usr/bin/pod2man ${WRKDIR}/belt-${V} > ${WRKDIR}/belt.1
|
|
|
|
${INSTALL_MAN} ${WRKDIR}/belt.1 ${MANPREFIX}/man/man1/
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/belt
|
|
|
|
${INSTALL_DATA} ${FULLDISTDIR}/menu.conf.EXAMPLE ${PREFIX}/share/examples/belt/
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/belt/icons
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/*.gif ${PREFIX}/share/belt/icons
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|