mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
4fb1cfb1cd
- svn move Templates/Licenses/AL2 Templates/Licenses/APACHE20 - add APACHE10 and APACHE11 to Mk/bsd.licenses.db.mk - add entry in UPDATING - bulk change all ports AL2 => APACHE20 - math/openfst/pkg-plist: remove share/licenses/openfst-1.3.4 PR: ports/184785 Submitted by: ohauer Reviewed by: tabthorpe Approved by: portmgr (tabthorpe@)
39 lines
755 B
Makefile
39 lines
755 B
Makefile
# Created by: Maxime Henrion (mux@FreeBSD.org)
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= htdump
|
|
PORTVERSION= 0.9y
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://ivo.palli.nl/prog/linux/htdump/bin/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Tool to retrieve WWW data
|
|
|
|
LICENSE= APACHE20
|
|
|
|
OPTIONS_DEFINE= SSL
|
|
OPTIONS_DEFAULT=SSL
|
|
|
|
PLIST_FILES= bin/htdump
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MSSL}
|
|
USE_OPENSSL= yes
|
|
ALL_TARGET= ssl
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|^CFLAGS|#CFLAGS| ; \
|
|
s|^CC|#CC| ; \
|
|
s|$$(LFLAGS)|$$(LDFLAGS)| ; \
|
|
s|-L/usr/local/ssl/lib|| ; \
|
|
s|%.o: %.c|| ; \
|
|
s|-I /usr/local/ssl/include|$$(CPPFLAGS)|' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} htdump ${STAGEDIR}${PREFIX}/bin)
|
|
|
|
.include <bsd.port.mk>
|