diff options
author | Marius Strobl <marius@FreeBSD.org> | 2010-01-22 20:24:42 +0000 |
---|---|---|
committer | Marius Strobl <marius@FreeBSD.org> | 2010-01-22 20:24:42 +0000 |
commit | d01ba344927936a9188255e2c31fca39a9e8d6a2 (patch) | |
tree | dd47004ecd12ec1e79daaa8c45685d36251c54c4 /sysutils/afbinit/Makefile | |
parent | 271683c3a24758b06580f3d4f05eb2fb284cf711 (diff) | |
download | ports-d01ba344927936a9188255e2c31fca39a9e8d6a2.tar.gz ports-d01ba344927936a9188255e2c31fca39a9e8d6a2.zip |
Notes
Diffstat (limited to 'sysutils/afbinit/Makefile')
-rw-r--r-- | sysutils/afbinit/Makefile | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/sysutils/afbinit/Makefile b/sysutils/afbinit/Makefile index ae26ae704dcb..2f41e79db963 100644 --- a/sysutils/afbinit/Makefile +++ b/sysutils/afbinit/Makefile @@ -7,15 +7,19 @@ PORTNAME= afbinit PORTVERSION= 1.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils graphics -MASTER_SITES= ${MASTER_SITE_DEBIAN} -MASTER_SITE_SUBDIR= pool/contrib/a/afbinit -DISTNAME= ${PORTNAME}_${PORTVERSION}.orig +MASTER_SITES= ${MASTER_SITE_DEBIAN:S/$/:afbinit,patch/} \ + http://dlc.sun.com/%SUBDIR%/:microcode +MASTER_SITE_SUBDIR= pool/contrib/a/afbinit/:afbinit,patch \ + osol/sparc-gfx/downloads/:microcode +DISTFILES= ${PORTNAME}_${PORTVERSION}.orig.tar.gz:afbinit \ + afb-ucode.tar.bz2:microcode +DIST_SUBDIR= ${PORTNAME} PATCH_SITES= ${MASTER_SITES} PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR} -PATCHFILES= ${PORTNAME}_${PORTVERSION}-4.diff.gz +PATCHFILES= ${PORTNAME}_${PORTVERSION}-4.diff.gz:patch PATCH_DIST_STRIP= -p1 MAINTAINER= marius@FreeBSD.org @@ -23,7 +27,7 @@ COMMENT= Sun AFB aka Sun Elite 3D microcode firmware loader ONLY_FOR_ARCHS= sparc64 USE_RC_SUBR= afbinit.sh -WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig PKGMESSAGE= ${WRKDIR}/pkg-message MAN8= afbinit.8 @@ -45,6 +49,11 @@ do-install: @${INSTALL_PROGRAM} ${WRKSRC}/afbinit ${PREFIX}/sbin @${INSTALL_MAN} ${WRKSRC}/debian/afbinit.8 ${PREFIX}/man/man8 @${INSTALL} -d ${DATADIR} + @${INSTALL_DATA} ${WRKDIR}/afb-ucode/afb.ucode ${DATADIR} +.if !defined(NOPORTDOCS) + @${INSTALL} -d ${DOCSDIR} + @${INSTALL_DATA} ${WRKDIR}/afb-ucode/README ${DOCSDIR} +.endif post-install: @${CAT} ${WRKDIR}/pkg-message |