aboutsummaryrefslogtreecommitdiffstats
path: root/misc/countrycodes/Makefile
blob: 08e214fdcaad3a0dc586d592a86f8417cbce8908 (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
# New ports collection makefile for:    countrycodes
# Date created:             6 Jul 2005
# Whom:                 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

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

PLIST_FILES=    bin/iso3166
PORTDOCS=   README
MAN1=       iso3166.1
MAKE_ARGS=  prefix="${PREFIX}" CC="${CC}" CCOPTS="${CFLAGS}" WARNINGS=""

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>