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 -.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 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%%