4bd67b1a80
- Install docs [1] - Add RC script: [1] i915resolution_enable="YES" # Enable hacking VBIOS resolution (YES/NO) i915resolution_modes="3c 4d 5c" # Space separated list of modes to set i915resolution_width="1920" # the horisontal resolution in pixels i915resolution_hight="1080" # the vertical resolution in pixels - Drop ALL_TARGET when using do-build - Mark broken on < 6 since port uses memmem function PR: ports/112922 [1] Submitted by: Yarema <yds@CoolRat.org> [1] Approved by: maintainer timeout (46 days)
44 lines
966 B
Makefile
44 lines
966 B
Makefile
# New ports collection makefile for: 915resolution
|
|
# Date created: 30 Apr 2004
|
|
# Whom: Remington Lang <MrL0Lz@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= 915resolution
|
|
PORTVERSION= 0.5.3
|
|
PORTEPOCH= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.geocities.com/stomljen/ \
|
|
${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= ehaupt
|
|
|
|
MAINTAINER= MrL0Lz@gmail.com
|
|
COMMENT= Resolution tool for Intel i915 video cards
|
|
|
|
USE_RC_SUBR= 915resolution.sh
|
|
|
|
PLIST_FILES= sbin/915resolution
|
|
PORTDOCS= README.txt chipset_info.txt
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 600034
|
|
BROKEN= Does not build
|
|
.endif
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && \
|
|
${CC} ${CFLAGS} 915resolution.c -o 915resolution
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/915resolution ${PREFIX}/sbin
|
|
.if !defined(NOPORTDOCS)
|
|
${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m ${BINMODE} -d ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|