openbsd-ports/x11/goggles/Makefile

60 lines
1.5 KiB
Makefile
Raw Normal View History

2010-11-22 05:16:08 -05:00
# $OpenBSD: Makefile,v 1.16 2010/11/22 10:16:08 espie Exp $
COMMENT= gui for ogle
CATEGORIES= x11
DISTNAME= goggles-0.9.1
REVISION= 2
EXTRACT_SUFX= .tar.bz2
MASTER_SITES= http://www.fifthplanet.net/files/
HOMEPAGE= http://www.fifthplanet.net/goggles.html
MAINTAINER= Marc Espie <espie@openbsd.org>
CONFIGURE_STYLE=simple
CONFIGURE_SCRIPT=/bin/sh ${WRKDIST}/gb
CONFIGURE_ARGS+=--fox-prefix=${LOCALBASE} \
--ogle-prefix=${LOCALBASE} \
--use-config=${FILESDIR}/config.local \
--prefix=${LOCALBASE}
WRKCONF= ${WRKDIST}
WRKSRC= ${WRKDIST}
MAKE_FILE= gb.make
ALL_TARGET=
USE_GMAKE= Yes
2009-01-24 10:33:12 -05:00
NO_REGRESS= Yes
CONFIGURE_ENV=LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} LP64_ARCHS="${LP64_ARCHS}"
WANTLIB= GL GLU X11 Xext Xcursor Xrandr bz2 c jpeg \
m png pthread stdc++ tiff z Xau Xdmcp Xft \
Xrender expat fontconfig freetype \
pthread-stubs xcb
2010-11-22 03:36:47 -05:00
LIB_DEPENDS= devel/fox \
x11/ogle
2010-11-06 19:49:19 -04:00
2010-11-22 05:16:08 -05:00
WANTLIB += FOX-1.6>=1 dvdcontrol msgevents
2010-11-06 19:49:19 -04:00
MAKE_FLAGS= -f ${WRKCONF}/conf.mk
post-build:
@echo '#! /bin/sh' >${WRKDIST}/scripts/goggles
@echo 'DVDP_UI=${PREFIX}/libexec/goggles exec ${LOCALBASE}/bin/ogle "$@"' >>${WRKDIST}/scripts/goggles
DOCDIR= ${PREFIX}/share/doc/goggles
do-install:
${INSTALL_SCRIPT} ${WRKDIST}/scripts/goggles ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIST}/src/goggles ${PREFIX}/libexec
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKDIST}/desktop/goggles_manual.pdf ${DOCDIR}
# GPL
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
2004-12-17 10:18:31 -05:00
.include <bsd.port.mk>