Enable regression suite.

This commit is contained in:
naddy 2002-10-27 00:01:15 +00:00
parent 78171009d1
commit 0aee4b3769
4 changed files with 43 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2002/07/08 04:43:42 kevlo Exp $
# $OpenBSD: Makefile,v 1.4 2002/10/27 00:01:15 naddy Exp $
COMMENT= "generate index pages for displaying images"
@ -21,6 +21,9 @@ RUN_DEPENDS= ::graphics/p5-Image-Size \
NO_BUILD= Yes
REGRESS_TARGET= test
PORTHOME= ${WRKDIR} # for regress
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/indexpage
${INSTALL_PROGRAM} ${WRKSRC}/indexpage.pl ${PREFIX}/bin/indexpage

View File

@ -0,0 +1,32 @@
$OpenBSD: patch-Makefile,v 1.1 2002/10/27 00:01:16 naddy Exp $
--- Makefile.orig Thu Feb 28 10:27:10 2002
+++ Makefile Sun Oct 27 01:33:20 2002
@@ -14,10 +14,6 @@ SOURCES = indexpage.pl \
BIN = $(HOME)/bin/
test: foo
- @if [ -f $(HOME)/.indexpagerc ] ; then \
- mv $(HOME)/.indexpagerc $(HOME)/.indexpagerc.backup ; \
- fi
-
# Test 1
@# indir = test1
@rm -rf test1
@@ -80,7 +76,7 @@ test: foo
@cp teststuff/pic.jpg test5/pic1.jpg
@cp teststuff/pic.jpg test5/pic2.jpg
@cp teststuff/descriptions5.txt descriptions.txt
- @perl indexpage.pl --indir=test5 --convert=/usr/bin/X11/convert \
+ @perl indexpage.pl --indir=test5 --convert=convert \
--footer="This goes at the bottom." --title=Test5 --noindex
@diff teststuff/index5.html 1.html
@@ -130,8 +126,6 @@ test: foo
@diff teststuff/1-8.html test8/gurka1.html
@diff teststuff/2-8.html test8/gurka2.html
@diff teststuff/3-8.html test8/gurka3.html
-
- @mv $(HOME)/.indexpagerc.backup $(HOME)/.indexpagerc
foo:
@touch foo

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.22 2002/03/21 20:57:08 espie Exp $
# $OpenBSD: Makefile,v 1.23 2002/10/27 00:01:16 naddy Exp $
# $FreeBSD: Makefile,v 1.5 1998/09/14 22:19:05 smace Exp $
COMMENT= "lossless image compression library"
DISTNAME= jbigkit-1.2
CATEGORIES= graphics
NEED_VERSION= 1.515
MASTER_SITES= ftp://ftp.informatik.uni-erlangen.de/local/cip/mskuhn/ISO/JBIG/ \
http://www.cl.cam.ac.uk/~mgk25/download/
@ -21,6 +21,8 @@ FAKE_FLAGS= ${MAKE_FLAGS}
WRKDIST= ${WRKDIR}/jbigkit
REGRESS_TARGET= test
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jbig
${INSTALL_DATA} ${WRKSRC}/libjbig/jbig.doc ${PREFIX}/share/doc/jbig

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2002/03/21 20:57:08 espie Exp $
# $OpenBSD: Makefile,v 1.4 2002/10/27 00:01:16 naddy Exp $
# $FreeBSD: ports/graphics/mpeg_encode/Makefile,v 1.11 2000/10/28 13:05:25 lioux Exp $
#
@ -8,7 +8,6 @@ BASENAME= mpeg_encode
PKGNAME= ${BASENAME}
DISTNAME= ${BASENAME}-1.5b-src
CATEGORIES= graphics
NEED_VERSION= 1.515
# BSD
PERMIT_PACKAGE_CDROM= No
@ -22,6 +21,8 @@ LIB_DEPENDS= jpeg.62::graphics/jpeg
WRKDIST= ${WRKDIR}/${BASENAME}
REGRESS_TARGET= test_all
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mpeg_encode ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/docs/mpeg_encode.1 ${PREFIX}/man/man1