- Add my LOCAL to MASTER_SITES
- Use PORTDOCS - Sort PLIST - Take maintainership
This commit is contained in:
@@ -4,26 +4,25 @@
|
||||
PORTNAME= getopt
|
||||
PORTVERSION= 1.1.5
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://software.frodo.looijaard.name/getopt/files/
|
||||
MASTER_SITES= http://software.frodo.looijaard.name/getopt/files/ \
|
||||
LOCAL/sunpoet
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= sunpoetFreeBSD.org
|
||||
COMMENT= Replacement for getopt(1) that supports GNU-style long options
|
||||
|
||||
USES= gettext gmake
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -lintl
|
||||
MAKE_ENV+= LIBCGETOPT=0
|
||||
|
||||
DOCS= Changelog README
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|CC=gcc|CC=${CC}|' ${WRKSRC}/Makefile
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -lintl
|
||||
MAKE_ARGS= CC=${CC}
|
||||
MAKE_ENV= LIBCGETOPT=0
|
||||
USES= gettext gmake
|
||||
|
||||
PORTDOCS= Changelog README
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/getopt
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
bin/getopt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Changelog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
man/man1/getopt.1.gz
|
||||
share/locale/ca/LC_MESSAGES/getopt.mo
|
||||
share/locale/cs/LC_MESSAGES/getopt.mo
|
||||
share/locale/da/LC_MESSAGES/getopt.mo
|
||||
@@ -27,4 +25,3 @@ share/locale/uk/LC_MESSAGES/getopt.mo
|
||||
share/locale/vi/LC_MESSAGES/getopt.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/getopt.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/getopt.mo
|
||||
man/man1/getopt.1.gz
|
||||
|
||||
Reference in New Issue
Block a user