freebsd-ports/graphics/seom/Makefile
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +00:00

60 lines
1.4 KiB
Makefile

# Created by: Bruce M Simpson <bms@FreeBSD.org>
# $FreeBSD$
PORTNAME= seom
PORTVERSION= 2010011201
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= LOCAL/bms
MAINTAINER= ports@FreeBSD.org
COMMENT= Real-time capture library for OpenGL applications
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= not yet ported to any arch other than x86
USES= gl gmake tar:bzip2 xorg
USE_XORG= x11 xv xext
USE_GL= gl
USE_LDCONFIG= yes
MAKE_ENV= DATADIR="${DATADIR}"
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64 || ${ARCH} == i386
BUILD_DEPENDS+= yasm:devel/yasm
.endif
post-patch:
@${ECHO_CMD} 1.0-196 > ${WRKSRC}/VERSION
post-install:
.for f in seom-filter seom-server seom-player
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}
.endfor
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libseom.so
#
# To roll snapshot: as bms: make BOOTSTRAP=defined fetch
#
.if defined(BOOTSTRAP)
FETCH_DEPENDS+= svn:devel/subversion
SVN_REV= 196 # svn tip at epoch 2009120801
SVNROOT_URI= https://devel.neopsis.com/svn/seom
do-fetch:
${MKDIR} ${WRKDIR}
svn export -r ${SVN_REV} ${SVNROOT_URI}/trunk ${WRKSRC}
cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DISTNAME}.tar.bz2 ${DISTNAME}
.if ${USER} == bms
${CHMOD} ugo+r ${DISTDIR}/${DISTNAME}.tar.bz2
scp -p ${DISTDIR}/${DISTNAME}.tar.bz2 \
freefall.freebsd.org:public_distfiles/
.endif
.endif # defined(BOOTSTRAP)
.include <bsd.port.post.mk>