update for netbpm 10; from pvalchev@
This commit is contained in:
parent
bd853c4066
commit
8f0a3a42b7
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2004/11/21 22:53:58 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2006/06/11 18:28:14 naddy Exp $
|
||||
|
||||
COMMENT= "PPM to Pilot bitmap converter"
|
||||
|
||||
DISTNAME= ppmtoTbmp-1.1
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
CATEGORIES= converters graphics
|
||||
HOMEPAGE= http://www.isaac.cs.berkeley.edu/pilot/
|
||||
|
||||
@ -12,14 +13,14 @@ PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= c
|
||||
WANTLIB= c m
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
MAKE_FLAGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||
LDLIBS="-L${LOCALBASE}/lib -lpnm -lppm -lpgm -lpbm"
|
||||
LDLIBS="-L${LOCALBASE}/lib -lnetpbm -lm"
|
||||
|
||||
LIB_DEPENDS= pnm,ppm,pgm,pbm::graphics/netpbm
|
||||
LIB_DEPENDS= netpbm::graphics/netpbm
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/Tbmptopnm ${PREFIX}/bin
|
||||
|
14
converters/ppmtoTbmp/patches/patch-ppmtoTbmp_c
Normal file
14
converters/ppmtoTbmp/patches/patch-ppmtoTbmp_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-ppmtoTbmp_c,v 1.1 2006/06/11 18:28:14 naddy Exp $
|
||||
--- ppmtoTbmp.c.orig Wed May 31 22:11:06 2006
|
||||
+++ ppmtoTbmp.c Wed May 31 22:11:32 2006
|
||||
@@ -5,8 +5,8 @@
|
||||
* Based on ppmtopuzz.c by Jef Paskanzer, from the netpbm-1mar1994 package.
|
||||
*/
|
||||
|
||||
-#include "ppm.h"
|
||||
-#include "ppmcmap.h"
|
||||
+#include <ppm.h>
|
||||
+#include <ppmcmap.h>
|
||||
|
||||
static int colcompare(const void *a, const void *b)
|
||||
{
|
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2005/09/10 18:29:55 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2006/06/11 18:28:14 naddy Exp $
|
||||
# $FreeBSD: ports/graphics/vid/Makefile,v 1.5 2001/02/21 07:48:56 roger Exp $
|
||||
|
||||
COMMENT= "get images from USB cameras using the OV511(+) chipsets"
|
||||
|
||||
DISTNAME= vid-1.0.1
|
||||
PKGNAME= ${DISTNAME}p2
|
||||
PKGNAME= ${DISTNAME}p3
|
||||
CATEGORIES= graphics
|
||||
|
||||
HOMEPAGE= http://ovtvid-bsd.sourceforge.net/
|
||||
@ -18,11 +18,11 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ovtvid-bsd/}
|
||||
|
||||
LIB_DEPENDS= pbm,pnm::graphics/netpbm
|
||||
WANTLIB= c
|
||||
LIB_DEPENDS= netpbm::graphics/netpbm
|
||||
WANTLIB= c m
|
||||
|
||||
MAKE_FLAGS= CFLAGS="${CFLAGS}" CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LIBS="-L${LOCALBASE}/lib -lpnm -lpbm"
|
||||
LIBS="-L${LOCALBASE}/lib -lnetpbm -lm"
|
||||
ALL_TARGET= default
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
Loading…
Reference in New Issue
Block a user