pkgsrc/x11/modeline/Makefile

26 lines
667 B
Makefile

# $NetBSD: Makefile,v 1.11 2005/06/17 03:50:44 jlam Exp $
DISTNAME= modeline_vfr.c
PKGNAME= modeline-20001121
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= # empty
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.dkfz-heidelberg.de/spec/linux/modeline/
COMMENT= Calculates XF86 Modelines to configure your monitor for X11R6
WRKSRC= ${WRKDIR}/modeline
INSTALLATION_DIRS= bin
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
do-build:
cd ${WRKSRC}; ${CC} ${CFLAGS} ${DISTNAME} -o ${DISTNAME:S/.c//}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME:S/.c//} ${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"