svn commit: r406241 - head/sysutils/bsdadminscripts
Baptiste Daroussin
bapt at FreeBSD.org
Sat Jan 16 17:05:34 UTC 2016
On Sat, Jan 16, 2016 at 05:00:58PM +0000, Pawel Pekala wrote:
> Author: pawel
> Date: Sat Jan 16 17:00:58 2016
> New Revision: 406241
> URL: https://svnweb.freebsd.org/changeset/ports/406241
>
> Log:
> - Don't use deprecated @dirrm in plist generation
> - Add NO_ARCH
> - Use options helpers
>
> Modified:
> head/sysutils/bsdadminscripts/Makefile
>
> Modified: head/sysutils/bsdadminscripts/Makefile
> ==============================================================================
> --- head/sysutils/bsdadminscripts/Makefile Sat Jan 16 16:48:50 2016 (r406240)
> +++ head/sysutils/bsdadminscripts/Makefile Sat Jan 16 17:00:58 2016 (r406241)
> @@ -13,6 +13,7 @@ COMMENT= Collection of administration sc
> LICENSE= BSD2CLAUSE
>
> NO_BUILD= yes
> +NO_ARCH= yes
>
> TMP?= /tmp
> VAR?= /var
> @@ -24,11 +25,7 @@ OPTIONS_DEFINE= DOCS
> SUB_FILES= distviper pkg_libchk pkg_upgrade uma
> SUB_LIST= TMP=${TMP} PREFIX=${PREFIX} VAR=${VAR} PORTS=${PORTSDIR}
>
> -.include <bsd.port.options.mk>
> -
> -.if ! ${PORT_OPTIONS:MDOCS}
> -EVALDOCS= -nodoc
> -.endif
> +DOCS_VARS_OFF= EVALDOCS=-nodoc
>
> do-install:
> cd ${WRKSRC}/src && ${SH} install.sh \
> @@ -56,13 +53,11 @@ post-install:
> ${MV} ${STAGEDIR}${PREFIX}/etc/*.sample ${STAGEDIR}${ETCDIR}
> ${RM} -rf ${STAGEDIR}${PREFIX}/etc/*.sample
>
> -.if ${PORT_OPTIONS:MDOCS}
> +post-install-DOCS-on:
> ${MKDIR} ${STAGEDIR}${DOCSDIR}
> cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
> -.endif
>
> plist:
> cd ${WRKSRC}/src && ${SH} plist.sh > ${PLIST}
> - ${ECHO} "@dirrm ${DATADIR_REL}" >> ${PLIST}
The above is also not needed anymore we have make makeplist and make check-plist
Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20160116/9adae685/attachment.sig>
More information about the svn-ports-all
mailing list