Skip to content

Commit

Permalink
update for new homepage and add PKG_DESTDIR_SUPPORT. Bump PKGREVISION
Browse files Browse the repository at this point in the history
  • Loading branch information
abs committed Feb 10, 2009
1 parent f347e9e commit cec50be
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions graphics/cambevao/Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# $NetBSD: Makefile,v 1.14 2007/09/02 12:53:20 joerg Exp $
# $NetBSD: Makefile,v 1.15 2009/02/10 11:59:16 abs Exp $
#

DISTNAME= cambevao-2.2
PKGREVISION= 3
PKGREVISION= 4
CATEGORIES= graphics
MASTER_SITES= http://core.de/~coto/projects/cambevao/
MASTER_SITES= http://coto.marsrakete.de/projects/cambevao/

MAINTAINER= [email protected]
HOMEPAGE= http://core.de/~coto/projects/cambevao/
COMMENT= Grabs images as jpg from bktr and ov511+ based USB webcams
HOMEPAGE= http://coto.marsrakete.de/projects/cambevao/
COMMENT= Grabs jpg images from bktr and ov511+ based USB webcams

MAKE_ENV+= prefix=${PREFIX:Q}
MAKE_FLAGS+= INSTALL=${INSTALL_PROGRAM:Q}
Expand All @@ -18,10 +18,15 @@ RCD_SCRIPT_SRC.cambevao= ${WRKSRC}/cambevao.rc.d
INSTALLATION_DIRS= bin share/examples/cambevao share/examples/rc.d

ONLY_FOR_PLATFORM= NetBSD-*-* FreeBSD-*-* DragonFly-*-*
PKG_DESTDIR_SUPPORT= user-destdir

post-install:
${INSTALL_DATA} ${WRKSRC}/cambevao.xml ${PREFIX}/share/examples/cambevao
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cambevao.README
INSTALLATION_DIRS+= ${PREFIX}/share/examples/cambevao
INSTALLATION_DIRS+= ${PREFIX}/share/doc

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cambevao ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/cambevao.xml ${DESTDIR}${PREFIX}/share/examples/cambevao
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/cambevao.README

.include "../../graphics/jpeg/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
Expand Down

0 comments on commit cec50be

Please sign in to comment.