mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
16478b3f54
New Features: ============== - Handling of: PLIST_FILES, PORTEXAMPLES, PORTDOCS, PLIST_DIRS, PLIST_DIRSTRY - Specific return codes which can be used for automated testing - Ability to execute external scripts ( ~/.genplist/${portname} ) Sample script for the nmap port: ================================= $> cat ~/.genplist/nmap #!/bin/sh sed -i '' -E -e 's|^(share/ncat/)|%%WITHSSL%%\1|g' \ -e 's|^(@dirrm share/ncat)|%%WITHSSL%%\1|' ${1} PR: ports/152836 Submitted by: ohauer Approved by: Jason Bacon <jwbacon _at_ tds.net> (maintainer) via mail.
28 lines
594 B
Makefile
28 lines
594 B
Makefile
# New ports collection makefile for: genplist
|
|
# Date created: 2007-04-19
|
|
# Whom: Jason Bacon <jwbacon@tds.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= genplist
|
|
PORTVERSION= 0.6
|
|
CATEGORIES= ports-mgmt
|
|
MASTER_SITES= http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \
|
|
http://jbacon.dyndns.org/~bacon/Ports/distfiles/
|
|
|
|
MAINTAINER= jwbacon@tds.net
|
|
COMMENT= Generates a static plist for a port
|
|
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= bin/genplist
|
|
|
|
MAN1= genplist.1
|
|
|
|
do-install:
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/genplist ${PREFIX}/bin
|
|
@${INSTALL_MAN} ${WRKSRC}/genplist.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|