summaryrefslogtreecommitdiff
path: root/net/urlendec/Makefile
blob: 658d69fb2bdfb070c45f37aa2aa83a243c3a99f5 (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
42
# New ports collection makefile for:	urlendec
# Date created:				25 October 2000
# Whom:					G. Adam Stanislav <adam@whizkidtech.net>
#
# $FreeBSD$
#

PORTNAME=	urlendec
PORTVERSION=	1.0
CATEGORIES=	net
MASTER_SITES=	http://www.whizkidtech.redprince.net/fports/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	URL encoder and decoder

BUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm

ONLY_FOR_ARCHS=	i386

BINARIES=	urlencode urldecode
DOCFILES=	index.html rfc1738.txt

do-install:
.for f in ${BINARIES}
	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
.endfor

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/urlendec
.for f in ${DOCFILES}
	${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/share/doc/urlendec
.endfor
	@echo ""
	@echo "	----------------------------------------------------"
	@echo "	Please read ${PREFIX}/share/doc/urlendec/index.html"
	@echo "	for detailed instructions how to use this port."
	@echo "	----------------------------------------------------"
	@echo ""
.endif

.include <bsd.port.mk>