blob: 356e85d238d85b8603d30cb77158d1c05224ba42 (
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
30
31
32
33
34
35
36
|
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= normalizemime
PORTVERSION= 1.19
CATEGORIES= mail
MASTER_SITES= http://hyvatti.iki.fi/~jaakko/spam/
DISTNAME= normalizemime.cc
EXTRACT_SUFX=
EXTRACT_ONLY=
MAINTAINER= lioux@FreeBSD.org
COMMENT= Mime normalizer to be used as a preprocessor for email classification
LICENSE= GPLv2
USES= iconv
NO_WRKSUBDIR= yes
CXXFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
PLIST_FILES= bin/${DISTNAME:R}
NO_STAGE= yes
post-extract:
@${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${WRKSRC}
do-build:
@cd ${WRKSRC} && ${CXX} ${CXXFLAGS} ${LDFLAGS} \
${DISTNAME} -o ${DISTNAME:R}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME:R} ${PREFIX}/bin
.include <bsd.port.mk>
|