freebsd-ports/graphics/seom/Makefile
Mikhail Teterin 036d5601fc Patch the source Makefile to no longer require gmake. Teach it to
translate i386 into x86 for yasm. This unbreaks the port on i386.

Fix the few warnings while I'm here.
2013-02-07 17:40:34 +00:00

57 lines
1.3 KiB
Makefile

# 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= ports@FreeBSD.org
COMMENT= Real-time capture library for OpenGL applications
NOMAN= defined
USE_BZIP2= yes
USE_GCC= 4.2+
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" || ${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)
.include <bsd.port.post.mk>