Robustness fix and license updates

- Update Makefile to use current version of GCC as defined in
  bsd.default-versions.mk. (USE_GCC=yes)
- Update Makefile with LICENSE and LICENSE_PERMS information and remove
  RESTRICTED and NO_CDROM (redundant)
- Update Makefile PORTREVISION

While here, pet portlint

PR:		243142
Submitted by:	thomas@bsdunix.ch
Approved by:	michael@fuckner.net (maintainer)
This commit is contained in:
Li-Wen Hsu 2020-06-28 13:46:41 +00:00
parent 08e466afc5
commit 62b8c9c430
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=540710
2 changed files with 11 additions and 8 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= arcconf
DISTVERSION= 3_01_23531
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= sysutils
MASTER_SITES= http://download.adaptec.com/raid/storage_manager/
@ -12,24 +12,29 @@ DISTNAME= arcconf_v${DISTVERSION}
MAINTAINER= michael@fuckner.net
COMMENT= Adaptec SCSI/SAS RAID administration tool
ONLY_FOR_ARCHS= amd64
LIB_DEPENDS= libstdc++.so.6:lang/gcc${GCC_DEFAULT}
LICENSE= Microsemi
LICENSE_NAME= Microsemi License
LICENSE_FILE= ${WRKSRC}/freebsd${DIST_TYPE}/cmdline/License.txt
LICENSE_PERMS= no-pkg-sell no-dist-sell no-dist-mirror auto-accept
ONLY_FOR_ARCHS= amd64
USES= zip
LIB_DEPENDS= libstdc++.so.6:lang/gcc${GCC_DEFAULT}
USE_GCC= yes
PERIODICSCRIPT= 410.status-aac-raid
SUB_FILES+= ${PERIODICSCRIPT}
RESTRICTED= May not be redistributed in binary form
NO_CDROM= May not be redistributed in binary form
.include <bsd.port.pre.mk>
DIST_TYPE= 11_x64
NO_BUILD= yes
NO_WRKSUBDIR= yes
PLIST_FILES= etc/periodic/daily/410.status-aac-raid \
sbin/arcconf
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/freebsd${DIST_TYPE}/cmdline/arcconf ${STAGEDIR}${PREFIX}/sbin
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily

View File

@ -1,2 +0,0 @@
etc/periodic/daily/410.status-aac-raid
sbin/arcconf