aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/seom/Makefile
blob: da97a9237d9a8f18d6444a8c73460efafc61f3d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# New ports collection makefile for:    seom
# Date created:     12th January 2010
# Whom:         bms
#
# $FreeBSD$
#

PORTNAME=   seom
PORTVERSION=    2010011201
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= bms
DISTNAME=   seom-${PORTVERSION}

MAINTAINER= bms@FreeBSD.org
COMMENT=    Real-time capture library for OpenGL applications

NOMAN=      defined

USE_BZIP2=  yes
USE_GCC=    4.2+
USE_GMAKE=  yes
USE_XORG=   x11 xv
USE_GL=     yes
USE_LDCONFIG=   yes

.include <bsd.port.pre.mk>

ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON=  "not yet ported to anything other than i386 and amd64"

.if ${ARCH} == "i386"
BROKEN=     does not build
.endif

.if ${ARCH} == "i386" || ${ARCH} == "amd64"
BUILD_DEPENDS=  ${LOCALBASE}/bin/yasm:${PORTSDIR}/devel/yasm
.endif

MAKE_JOBS_SAFE= defined
MAKE_ENV+=  DATADIR="${DATADIR}" PREFIX="${PREFIX}"

#
# To roll snapshot: as bms: make BOOTSTRAP=defined fetch
#
.if defined(BOOTSTRAP)
FETCH_DEPENDS+= svn:${PORTSDIR}/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)

.if ${OSVERSION} < 700000
IGNORE=     unsupported on FreeBSD versions prior to 7.0
.endif

.include <bsd.port.post.mk>