openbsd-ports/x11/video/Makefile
2010-08-08 20:00:16 +00:00

34 lines
800 B
Makefile

# $OpenBSD: Makefile,v 1.3 2010/08/08 20:00:16 espie Exp $
MASTER_SITES = http://www.bsdfrog.org/OpenBSD/distfiles/ \
ftp://quatramaran.ens.fr/pub/espie/
DISTNAME = video-0
REVISION = 0
WRKSRC = ${WRKDIR}/video
COMMENT = record and display with video(4)
CATEGORIES = x11 sysutils
NOT_FOR_ARCHS = ${GCC2_ARCHS}
NO_REGRESS = Yes
WANTLIB = X11 Xv c
# BSD
PERMIT_PACKAGE_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
do-build:
cd ${WRKBUILD} && ${CC} -I${X11BASE}/include ${CFLAGS} \
-o video video.c -L${X11BASE}/lib -lX11 -lXv
cd ${WRKBUILD} && mandoc video.1 >video.cat1
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/video ${PREFIX}/bin
${INSTALL_MAN} ${WRKBUILD}/video.cat1 ${PREFIX}/man/cat1/video.0
.include <bsd.port.mk>