mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
146b8ec37b
* Fix some minor issues in the portlint man page [1] * Warn about using ${SITE_PERL} in depends [2] * Add a check to see that OPTIONS_{RADIO/SINGLE/MULTI/GROUP}_SOMETHING exists if OPTIONS_{RADIO/SINGLE/MULTI/GROUP} is defined [3] * Join all lines with a backslash before doing anything to fix parsing of comments [4] * Stop looping through MASTER_SITES as soon as a comment is seen [4] * Detect plain ftp/http sites and print a warning if none have been found [4] * Opt for USES=pkgconfig instead of USE_PKGCONFIG [5] * Add check for ${TRUE}/${FALSE} in DESKTOP_ENTRIES [5] * Remove CDRTOOLS check [5] * Remove USE_REINPLACE check [5] * Remove USE_GETOPT_LONG check [5] * Modify USE_GETTEXT -> USES gettext [5] * Remove WITHOUT_NLS check [5] * Relax headers check for $FreeBSD$ + $MCom$ case [5] * Fix URL suggestion for CPAN so that it ends with a '/' [6] PR: 178952 [2] 179262 [3] 179338 [5] 180260 [6] Submitted by: eadler [1] "Anton Yuzhaninov" <ayuzhaninov@openstat.ru> [2] "Ilya A. Arkhipov" <rum1cro@yandex.ru> [3] tijl [4] Alex Kozlov <spam@rm-rf.kiev.ua> [5] Anes Mukhametov <anes@anes.su> [6]
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# Created by: Jun-ichiro itojun Hagino <itojun@itojun.org>
|
|
# $FreeBSD$
|
|
#
|
|
# This port is self contained in the src directory.
|
|
#
|
|
|
|
PORTNAME= portlint
|
|
PORTVERSION= 2.14.4
|
|
CATEGORIES= ports-mgmt
|
|
MASTER_SITES= # none
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= marcus@FreeBSD.org
|
|
COMMENT= A verifier for FreeBSD port directory
|
|
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/src
|
|
USE_PERL5_RUN= yes
|
|
|
|
SRC= ${.CURDIR}/src
|
|
|
|
MAN1= portlint.1
|
|
PLIST_FILES= bin/portlint
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
PLIST_FILES+= %%EXAMPLESDIR%%/portlintgrep
|
|
PLIST_DIRS= %%EXAMPLESDIR%%
|
|
.endif
|
|
|
|
do-fetch:
|
|
@${DO_NADA}
|
|
|
|
pre-patch:
|
|
@${CP} -R ${SRC} ${WRKDIR}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/portlint.pl
|
|
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' \
|
|
${WRKSRC}/portlintgrep.pl
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/portlint.pl ${PREFIX}/bin/portlint
|
|
${INSTALL_MAN} ${WRKSRC}/portlint.1 ${MAN1PREFIX}/man/man1
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m ${BINMODE} -d ${EXAMPLESDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/portlintgrep.pl ${EXAMPLESDIR}/portlintgrep
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|