2006-02-07 23:54:48 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2006/02/08 04:54:50 david Exp $
|
2001-11-11 09:11:30 -05:00
|
|
|
|
|
|
|
COMMENT= "Small menubar for X11 written in Perl/Tk"
|
2005-10-11 14:14:48 -04:00
|
|
|
DISTNAME= belt-1.21
|
2001-11-11 09:11:30 -05:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
2004-02-20 20:18:07 -05:00
|
|
|
HOMEPAGE= http://www.stacken.kth.se/~maxz/programming.html#belt
|
2005-10-11 14:14:48 -04:00
|
|
|
MASTER_SITES= http://www.stacken.kth.se/~maxz/files/
|
2001-11-11 09:11:30 -05:00
|
|
|
|
2005-10-11 14:49:54 -04:00
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@nedbsd.nl>
|
|
|
|
|
2005-10-11 14:14:48 -04:00
|
|
|
DISTFILES= ${DISTNAME} menu.conf.EXAMPLE belticons.tar.gz
|
2001-11-11 09:11:30 -05:00
|
|
|
DIST_SUBDIR= belt
|
|
|
|
|
|
|
|
# License: BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
2004-02-01 15:17:47 -05:00
|
|
|
PKG_ARCH= *
|
2001-11-11 09:11:30 -05:00
|
|
|
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:
|
2005-10-11 14:14:48 -04:00
|
|
|
@cp ${FULLDISTDIR}/${DISTNAME} ${WRKDIR}/
|
2001-11-11 09:11:30 -05:00
|
|
|
|
2006-02-07 23:54:48 -05:00
|
|
|
pre-configure:
|
2001-11-11 09:11:30 -05:00
|
|
|
@perl -pi -e 's,/usr/local/belt/icons,${PREFIX}/share/belt/icons,g; ' \
|
|
|
|
-e 's,/usr/local/bin/perl,/usr/bin/perl,' \
|
2005-10-11 14:14:48 -04:00
|
|
|
${WRKDIR}/${DISTNAME}
|
2001-11-11 09:11:30 -05:00
|
|
|
|
|
|
|
do-install:
|
2005-10-11 14:14:48 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME} ${PREFIX}/bin/belt
|
|
|
|
/usr/bin/pod2man ${WRKDIR}/${DISTNAME} > ${WRKDIR}/belt.1
|
2003-07-16 13:37:46 -04:00
|
|
|
${INSTALL_MAN} ${WRKDIR}/belt.1 ${PREFIX}/man/man1/
|
2001-11-11 09:11:30 -05:00
|
|
|
${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>
|