- Add LICENSE

- Cosmetic fixes
- Switch to new test framework
This commit is contained in:
Dmitry Marakasov 2018-02-19 09:02:56 +00:00
parent ce7410ae9f
commit 9de1046f59
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=462286

View File

@ -10,6 +10,9 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for parsing RFC2425 MIME Directory Profile information
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USES= desthack libtool
GNU_CONFIGURE= yes
CONFIGURE_ENV= YACC=byacc
@ -18,12 +21,12 @@ USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE=yes
post-patch:
${REINPLACE_CMD} -e 's/444/644/g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's/444/644/g' ${WRKSRC}/Makefile.in
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmimedir.so
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmimedir.so
regression-test:
do-test:
cd ${WRKSRC} && ./test
.include <bsd.port.mk>