summaryrefslogtreecommitdiffstats
path: root/devel/libmimedir/Makefile
blob: 14bcdd51a062be9e8525fecf7d459e86ea1caf26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Created by: Sam Lawrance <boris@brooknet.com.au>
# $FreeBSD$

PORTNAME=	libmimedir
PORTVERSION=	0.5.1
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Library for parsing RFC2425 MIME Directory Profile information

USES=		desthack libtool
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	YACC=byacc
USE_LDCONFIG=	yes

MAKE_JOBS_UNSAFE=yes

post-patch:
	${REINPLACE_CMD} -e 's/444/644/g' ${WRKSRC}/Makefile.in

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmimedir.so

regression-test:
	cd ${WRKSRC} && ./test

.include <bsd.port.mk>
OpenPOWER on IntegriCloud