diff options
author | lippe <lippe@FreeBSD.org> | 2008-06-19 15:03:41 +0800 |
---|---|---|
committer | lippe <lippe@FreeBSD.org> | 2008-06-19 15:03:41 +0800 |
commit | 65c088d05fe23cdffb2231e4c0a551c18358f6ee (patch) | |
tree | 005c9cfac6ee20a3c269283b542c388f653b1e93 /sysutils/915resolution | |
parent | aec844ee82ad0e900799e222272da2c78da71bea (diff) | |
download | freebsd-ports-gnome-65c088d05fe23cdffb2231e4c0a551c18358f6ee.tar.gz freebsd-ports-gnome-65c088d05fe23cdffb2231e4c0a551c18358f6ee.tar.zst freebsd-ports-gnome-65c088d05fe23cdffb2231e4c0a551c18358f6ee.zip |
- 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)
Diffstat (limited to 'sysutils/915resolution')
-rw-r--r-- | sysutils/915resolution/Makefile | 16 | ||||
-rw-r--r-- | sysutils/915resolution/pkg-plist | 6 |
2 files changed, 10 insertions, 12 deletions
diff --git a/sysutils/915resolution/Makefile b/sysutils/915resolution/Makefile index 8faaebd3035f..f6234ea37877 100644 --- a/sysutils/915resolution/Makefile +++ b/sysutils/915resolution/Makefile @@ -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> diff --git a/sysutils/915resolution/pkg-plist b/sysutils/915resolution/pkg-plist new file mode 100644 index 000000000000..7583360a4966 --- /dev/null +++ b/sysutils/915resolution/pkg-plist @@ -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%% |