1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/sysutils/videogen/Makefile
2006-06-07 17:59:15 +00:00

31 lines
789 B
Makefile

# New ports collection makefile for: videogen
# Date created: Mar 30, 2002
# Whom: Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#
PORTNAME= videogen
PORTVERSION= 0.32
CATEGORIES= sysutils
MASTER_SITES= http://www.dynaweb.hu/opensource/videogen/download/ \
${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= X11/xutils
MAINTAINER= ports@FreeBSD.org
COMMENT= A tool for calculating XFree86 modelines
MAN1= videogen.1
PLIST_FILES= bin/videogen
post-patch:
@${REINPLACE_CMD} -e 's|CFLAGS = -Wall -O -g|CFLAGS += -Wall| ; \
s|CC =|CC ?=|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|0.31|${PORTVERSION}|' ${WRKSRC}/config.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/videogen ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/videogen.1x ${MAN1PREFIX}/man/man1/videogen.1
.include <bsd.port.mk>