664cf49215
The makevar padding method was missing leading and trailing variable values when those values were undefined. Try to be better about this.
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# Created by: Jun-ichiro itojun Hagino <itojun@itojun.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= portlint
|
|
PORTVERSION= 2.19.2
|
|
CATEGORIES= ports-mgmt
|
|
MASTER_SITES= # none
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= marcus@FreeBSD.org
|
|
COMMENT= Verifier for FreeBSD port directory
|
|
|
|
LICENSE= ITOJUN
|
|
LICENSE_NAME= Itojun License
|
|
LICENSE_TEXT= All rights reserved. Freely redistributable. Absolutely no warranty.
|
|
LICENSE_PERMS= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/src
|
|
USES= perl5 shebangfix
|
|
SHEBANG_FILES= *.pl
|
|
USE_PERL5= run
|
|
|
|
SRC= ${.CURDIR}/src
|
|
|
|
PLIST_FILES= bin/portlint \
|
|
man/man1/portlint.1.gz
|
|
|
|
PORTEXAMPLES= portlintgrep
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
do-extract:
|
|
@${CP} -R ${SRC}/ ${WRKSRC}
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/portlint.pl \
|
|
${STAGEDIR}${PREFIX}/bin/portlint
|
|
${INSTALL_MAN} ${WRKSRC}/portlint.1 \
|
|
${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
do-install-EXAMPLES-on:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/portlintgrep.pl \
|
|
${STAGEDIR}${EXAMPLESDIR}/portlintgrep
|
|
|
|
.include <bsd.port.mk>
|