aboutsummaryrefslogtreecommitdiffstats
path: root/security/pgpin/Makefile
blob: cb68560112f2f32e0f6ceb18c8bbcc19d1367912 (plain) (blame)
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
37
38
39
40
41
# $FreeBSD$

PORTNAME=   pgpin
PORTVERSION=    010323
PORTREVISION=   1
CATEGORIES= security
MASTER_SITES=   LOCAL/dinoex \
        ftp://ftp.iks-jena.de/pub/mitarb/lutz/crypt/software/pgp/pgp263in/
DISTNAME=   pgp263in${PORTVERSION}

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    PGP International version - improved for use in IN-CA

LICENSE=    MIT

PORTSCOUT=  ignore:1

BROKEN_mips64=      Does not build

USES=       tar:tgz
WRKSRC=     ${WRKDIR}/pgp263in/src
MAKEFILE=   makefile
ALL_TARGET= freebsd-${ARCH} OS_CFLAGS="${CFLAGS}"
PGPLIB=     ${STAGEDIR}${PREFIX}/lib/pgpin
OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/pgp ${STAGEDIR}${PREFIX}/bin/pgpin
    ${INSTALL_MAN} ${WRKSRC}/../doc/pgp.1 ${STAGEDIR}${PREFIX}/man/man1/pgpin.1
    ${MKDIR} ${PGPLIB}
    ${INSTALL_DATA} ${WRKSRC}/../pgp.hlp ${PGPLIB}/
    ${INSTALL_DATA} ${WRKSRC}/../language.txt ${PGPLIB}/language.txt.sample
    ${INSTALL_DATA} ${WRKSRC}/../config.txt ${PGPLIB}/config.txt.sample

post-install-DOCS-on:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${FILESDIR}/CHANGES ${STAGEDIR}${DOCSDIR}/
    ${INSTALL_DATA} ${WRKSRC}/../doc/pgpdoc1.txt \
        ${WRKSRC}/../doc/pgpdoc2.txt ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>