diff options
author | Felippe de Meirelles Motta <lippe@FreeBSD.org> | 2008-06-19 07:03:41 +0000 |
---|---|---|
committer | Felippe de Meirelles Motta <lippe@FreeBSD.org> | 2008-06-19 07:03:41 +0000 |
commit | b33ee97d57a19a6d3f18a50fa6cc6907947a2a99 (patch) | |
tree | 9399b1351772c0ad3d606b492042cbed3a00de98 /sysutils | |
parent | 9ed0a6e630c6b3eac0e20328fbdbaf75eeabb238 (diff) |
Notes
Diffstat (limited to 'sysutils')
-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%% |