1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/net/urlendec/Makefile
Will Andrews dd537b1721 Add urlendec 1.0, URL encoder and decoder.
PR:		22303
Submitted by:	G. Adam Stanislav <adam@whizkidtech.net>
2001-04-07 07:11:21 +00:00

40 lines
952 B
Makefile

# 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.net/fports/
MAINTAINER= adam@whizkidtech.net
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
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>