/tmp/cvsIyELi3

This commit is contained in:
zhuk 2013-05-24 14:10:01 +00:00
parent 8b72973a31
commit d714aef1ea
2 changed files with 9 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2013/05/05 19:24:13 jasper Exp $
# $OpenBSD: Makefile,v 1.12 2013/05/24 14:10:01 zhuk Exp $
COMMENT= web-based tool for managing racks of equipment
@ -19,6 +19,8 @@ PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rackmonkey/}
MODULES = perl
RUN_DEPENDS= p5-DBD-SQLite-*|p5-DBD-Pg-*|p5-DBD-mysql-*:databases/p5-DBD-SQLite \
misc/p5-Spreadsheet-WriteExcel \
net/p5-Net-DNS \
@ -31,8 +33,7 @@ PREFIX= /var/www
PKG_ARCH= *
do-configure:
find ${WRKSRC}/perl -type f -print0 | \
xargs -r0 perl -pi -e 's,#!/usr/bin/env perl,#!/usr/bin/perl,'
find ${WRKSRC}/perl -type f -print0 | xargs -r0 ${MODPERL_BIN_ADJ}
# setup a sample database: not strictly necessary, but makes for
# easy end-user configuration for the simplest case.

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.21 2013/03/11 11:46:08 espie Exp $
# $OpenBSD: Makefile,v 1.22 2013/05/24 14:10:01 zhuk Exp $
COMMENT= Small menubar for X11 written in Perl/Tk
DISTNAME= belt-1.21
@ -19,6 +19,9 @@ PKG_ARCH= *
WRKDIST= ${WRKDIR}
EXTRACT_ONLY= belticons.tar.gz
MODULES = perl
MODPERL_ADJ_FILES = ${DISTNAME}
RUN_DEPENDS= x11/p5-Tk
USE_GROFF = Yes
@ -29,8 +32,7 @@ post-extract:
@cp ${FULLDISTDIR}/${DISTNAME} ${WRKDIR}/
pre-configure:
@perl -pi -e 's,/usr/local/belt/icons,${PREFIX}/share/belt/icons,g; ' \
-e 's,/usr/local/bin/perl,/usr/bin/perl,' \
@perl -pi -e 's,/usr/local/belt/icons,${PREFIX}/share/belt/icons,g' \
${WRKDIR}/${DISTNAME}
do-install: