mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# New ports collection makefile for: idea
|
|
# Date created: 4 September 2004
|
|
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= idea
|
|
PORTVERSION= 1.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.de-moliner.ch/richard/downloads/ \
|
|
CRITICAL
|
|
DISTNAME= ${PORTNAME}.V${PORTVERSION}
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= A command line idea encryption and decryption utility
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
RESTRICTED= Crypto; IDEA is a patented algorithm that requires proper licensing
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
MANL= idea.l
|
|
MANCOMPRESSED= no
|
|
|
|
.if !defined(MAKE_IDEA) || ${MAKE_IDEA} == "no" || ${MAKE_IDEA} == "NO"
|
|
IGNORE= you chose not to use idea related code
|
|
.endif
|
|
|
|
do-build:
|
|
${CC} ${WRKSRC}/idea.c ${WRKSRC}/idea_cmd.c ${CFLAGS} -o ${WRKSRC}/${PORTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_MAN} ${WRKSRC}/manl/idea.l ${PREFIX}/man/manl
|
|
${INSTALL_PROGRAM} -m 0555 ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/Examples ${EXAMPLESDIR}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/byte_ord.ps ${WRKSRC}/idea_cmd.txt ${DOCSDIR}
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|