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