Support staging
This commit is contained in:
parent
94dff112d3
commit
c800a2bba4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349335
@ -6,7 +6,7 @@ PORTVERSION= 0.5.3
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITES= LOCAL
|
||||
MASTER_SITE_SUBDIR= ehaupt
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
@ -15,23 +15,18 @@ COMMENT= Resolution tool for Intel i915 video cards
|
||||
USE_RC_SUBR= 915resolution
|
||||
|
||||
PLIST_FILES= sbin/915resolution
|
||||
OPTIONS_DEFINE= DOCS
|
||||
PORTDOCS= README.txt LICENSE.txt chipset_info.txt changes.log
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
ONLY_FOR_ARCHS= i386 amd64
|
||||
|
||||
NO_STAGE= yes
|
||||
do-build:
|
||||
cd ${WRKSRC} && \
|
||||
${CC} ${CFLAGS} 915resolution.c -o 915resolution
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
${CC} ${CFLAGS} ${WRKSRC}/915resolution.c -o ${WRKSRC}/915resolution
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/915resolution ${PREFIX}/sbin
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
|
||||
.endif
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/915resolution ${STAGEDIR}${PREFIX}/sbin
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user