mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
a3a0715f38
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here Reviewed by: zeising
40 lines
856 B
Makefile
40 lines
856 B
Makefile
# New ports collection makefile for: normalize mime
|
|
# Date created: Wed Aug 31 00:24:53 UTC 2005
|
|
# Whom: 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 -liconv
|
|
|
|
PLIST_FILES= bin/${DISTNAME:R}
|
|
|
|
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>
|