1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Now builds on !i386.

- Respect NOPORTDOCS.
- Bump PORTREVISION.

PR:		ports/121154
Submitted by:	Steve Franks <stevefranks@ieee.org>
Reworked by:	lippe
Approved by:	gabor (mentor, implicit), maintainer timeout (>2 weeks)
This commit is contained in:
Felippe de Meirelles Motta 2008-06-19 07:03:41 +00:00
parent 9ed0a6e630
commit b33ee97d57
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215239
2 changed files with 10 additions and 12 deletions

View File

@ -6,6 +6,7 @@
PORTNAME= 915resolution
PORTVERSION= 0.5.3
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.geocities.com/stomljen/ \
@ -17,17 +18,10 @@ 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
DOCS= README.txt LICENSE.txt chipset_info.txt changes.log
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600034
BROKEN= Does not build
.endif
do-build:
cd ${WRKSRC} && \
${CC} ${CFLAGS} 915resolution.c -o 915resolution
@ -35,10 +29,8 @@ do-build:
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
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,6 @@
sbin/915resolution
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
%%PORTDOCS%%%%DOCSDIR%%/chipset_info.txt
%%PORTDOCS%%%%DOCSDIR%%/changes.log
%%PORTDOCS%%@dirrm %%DOCSDIR%%