36 lines
749 B
Makefile
36 lines
749 B
Makefile
# Created by: Cyrus Rahman <cr@jcmax.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tnef
|
|
PORTVERSION= 1.4.11
|
|
CATEGORIES= converters mail
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/
|
|
|
|
MAINTAINER= garga@FreeBSD.org
|
|
COMMENT= Unpack data in MS Outlook TNEF format
|
|
|
|
LICENSE= GPLv2
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
PORTDOCS= AUTHORS NEWS README THANKS TODO
|
|
PLIST_FILES= bin/tnef \
|
|
man/man1/tnef.1.gz
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
# This target is intended to be run by the port maintainer.
|
|
x-test: build
|
|
.for dir in cmdline files
|
|
@cd ${WRKSRC}/tests/${dir} && ${MAKE} check-TESTS
|
|
.endfor
|
|
|
|
.include <bsd.port.post.mk>
|