Convert to OptionsNG
Feature safe: yes
This commit is contained in:
parent
3e21c82eb1
commit
990e3a8060
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306182
1 changed files with 4 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= getopt
|
||||
PORTVERSION= 1.1.4
|
||||
PORTVERSION= 1.1.5
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://software.frodo.looijaard.name/getopt/files/
|
||||
|
@ -20,10 +20,12 @@ MAKE_ENV= LIBCGETOPT=0
|
|||
MAN1= getopt.1
|
||||
DOCS= Changelog README
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|CC=gcc|CC=${CC}|' ${WRKSRC}/Makefile
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
||||
|
|
Loading…
Reference in a new issue