- Convert to USES=tar,libtool, drop .la files

- Optionize
- Cosmetic fixes
This commit is contained in:
Dmitry Marakasov 2014-05-27 18:36:25 +00:00
parent c197a82732
commit f54507fc19
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355558
2 changed files with 15 additions and 43 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= vstr
PORTVERSION= 1.0.15
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://freebsd.unixfreunde.de/sources/ \
http://sce-tindy.tecnik93.com/FreeBSD/others_ports/${PORTNAME}/ \
@ -12,20 +13,22 @@ MASTER_SITES= http://freebsd.unixfreunde.de/sources/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= General purpose string library for C
USES= gmake pathfix pkgconfig tar:bzip2 libtool
GNU_CONFIGURE= yes
USE_CSTD= gnu89
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
PORTDOCS= *
OPTIONS_DEFINE= DOCS
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_CSTD= gnu89
USES= gmake pathfix pkgconfig
USE_LDCONFIG= yes
post-install:
cd ${WRKSRC}/Documentation && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_fLAGS} ${MAKEFILE} ${MAKE_ARGS} install-man3
cd ${WRKSRC}/Documentation && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_fLAGS} ${MAKEFILE} ${MAKE_ARGS} install-man3
regression-test:
(cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check
.include <bsd.port.mk>

View file

@ -6,41 +6,10 @@ include/vstr-extern.h
include/vstr-inline.h
include/vstr-switch.h
include/vstr.h
lib/libvstr-1.0.so
lib/libvstr-1.0.so.13
lib/libvstr-1.0.so.0
lib/libvstr-1.0.so.0.13.2
lib/libvstr.a
lib/libvstr.la
lib/libvstr.so
libdata/pkgconfig/vstr.pc
man/man3/vstr.3.gz
man/man3/vstr_const.3.gz
%%PORTDOCS%%%%DOCSDIR%%/basic_cat.c.html
%%PORTDOCS%%%%DOCSDIR%%/compare_licenses/SafeStr.txt
%%PORTDOCS%%%%DOCSDIR%%/compare_licenses/bstring.txt
%%PORTDOCS%%%%DOCSDIR%%/compare_licenses/cords.txt
%%PORTDOCS%%%%DOCSDIR%%/compare_licenses/ossp-str.txt
%%PORTDOCS%%%%DOCSDIR%%/compare_licenses/rope.txt
%%PORTDOCS%%%%DOCSDIR%%/compare_licenses/sz.txt
%%PORTDOCS%%%%DOCSDIR%%/compare_licenses/toolbox.txt
%%PORTDOCS%%%%DOCSDIR%%/comparison.html
%%PORTDOCS%%%%DOCSDIR%%/constants.html
%%PORTDOCS%%%%DOCSDIR%%/constants.txt
%%PORTDOCS%%%%DOCSDIR%%/cost_tutorial.html
%%PORTDOCS%%%%DOCSDIR%%/design.html
%%PORTDOCS%%%%DOCSDIR%%/f_c.css
%%PORTDOCS%%%%DOCSDIR%%/functions.html
%%PORTDOCS%%%%DOCSDIR%%/functions.txt
%%PORTDOCS%%%%DOCSDIR%%/internal_structure.dia
%%PORTDOCS%%%%DOCSDIR%%/namespace.html
%%PORTDOCS%%%%DOCSDIR%%/overview.html
%%PORTDOCS%%%%DOCSDIR%%/printf_comparison.html
%%PORTDOCS%%%%DOCSDIR%%/req_trunc_io.html
%%PORTDOCS%%%%DOCSDIR%%/security.html
%%PORTDOCS%%%%DOCSDIR%%/security_problems.html
%%PORTDOCS%%%%DOCSDIR%%/size_cmp.gnumeric
%%PORTDOCS%%%%DOCSDIR%%/speed.html
%%PORTDOCS%%%%DOCSDIR%%/structs.html
%%PORTDOCS%%%%DOCSDIR%%/structs.txt
%%PORTDOCS%%%%DOCSDIR%%/tutorial.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/compare_licenses
%%PORTDOCS%%@dirrm %%DOCSDIR%%