aboutsummaryrefslogtreecommitdiffstats
path: root/misc/countrycodes/Makefile
blob: 54071363b8c8cd60ec1521756b1922ec40bd0a04 (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
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$

PORTNAME=   countrycodes
PORTVERSION=    1.0.5
CATEGORIES= misc
MASTER_SITES=   http://www.grigna.com/diego/linux/countrycodes/ \
        CRITICAL

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    An ISO 3166 country code finder

LICENSE=    GPLv2

BUILD_WRKSRC=   ${WRKSRC}/src
INSTALL_WRKSRC= ${BUILD_WRKSRC}

PLIST_FILES=    bin/iso3166 man/man1/iso3166.1.gz
PORTDOCS=   README

MAKE_ARGS=  prefix="${STAGEDIR}${PREFIX}" CC="${CC}" CCOPTS="${CFLAGS}" WARNINGS=""

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

post-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>