mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
4e1b79a0a6
With hat: portmgr Sponsored by: Absolight
60 lines
1.4 KiB
Makefile
60 lines
1.4 KiB
Makefile
# Created by: Bruce M Simpson <bms@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= seom
|
|
PORTVERSION= 2010011201
|
|
PORTREVISION= 1
|
|
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= i386 amd64
|
|
ONLY_FOR_ARCHS_REASON= not yet ported to anything except i386 and amd64
|
|
|
|
USES= gmake tar:bzip2
|
|
USE_XORG= x11 xv xext
|
|
USE_GL= gl
|
|
USE_LDCONFIG= yes
|
|
MAKE_ENV= DATADIR="${DATADIR}"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == i386 || ${ARCH} == amd64
|
|
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>
|