summaryrefslogtreecommitdiff
path: root/sysutils/videogen/Makefile
blob: 9413a5c1c3da8737c195f1095290d7596c5eee75 (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
# Created by: Mark Pulford <mark@kyne.com.au>
# $FreeBSD$

PORTNAME=	videogen
PORTVERSION=	0.33
CATEGORIES=	sysutils
MASTER_SITES=	http://www.dynaweb.hu/opensource/videogen/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A tool for calculating XFree86 modelines

MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"

MAN1=		${PORTNAME}.1
PORTDOCS=	BUGS CHANGES README THANKS
PLIST_FILES=	bin/${PORTNAME}

NO_STAGE=	yes
post-extract:
	@${LN} -sf ${PORTNAME}.1x ${WRKSRC}/${PORTNAME}.1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>