1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/converters/mmencode/Makefile
Johan van Selst 06c1e4f4a0 - Fix compilation with clang:
Make some implicit function types and references explicit
- Adopt port
2012-12-30 22:51:40 +00:00

30 lines
741 B
Makefile

# Created by: kbyanc
# $FreeBSD$
PORTNAME= mmencode
PORTVERSION= 2.7
CATEGORIES= converters
MASTER_SITES= ftp://ftp.delegate.org/pub/mime/mm2.7/ \
ftp://ftp.funet.fi/pub/unix/mail/metamail/
DISTNAME= mm${PORTVERSION}
EXTRACT_SUFX= .tar.Z
MAINTAINER= johans@FreeBSD.org
COMMENT= Translate to and from mail-oriented encoding formats
WRKSRC= ${WRKDIR}/${DISTNAME}/src/metamail
PLIST_FILES= bin/mmencode bin/mimencode
MAN1= mmencode.1
MLINKS= mmencode.1 mimencode.1
ALL_TARGET= mmencode
MAKE_ARGS= CFLAGS="${CFLAGS}"
do-install:
@cd ${WRKSRC} && ${INSTALL_PROGRAM} mmencode ${PREFIX}/bin
@cd ${WRKSRC}/../man && ${INSTALL_MAN} mmencode.1 ${PREFIX}/man/man1
@cd ${PREFIX}/bin && ${LN} -s mmencode mimencode
.include <bsd.port.mk>