# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD: head/misc/countrycodes/Makefile 436258 2017-03-15 20:30:42Z ehaupt $

PORTNAME=	countrycodes
PORTVERSION=	1.0.6
CATEGORIES=	misc
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}

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

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

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

OPTIONS_DEFINE=	DOCS

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

.include <bsd.port.mk>
