c7525a3d86
original script worked for me... Submitted by: steve
35 lines
870 B
Makefile
35 lines
870 B
Makefile
# New ports collection makefile for: netraider
|
|
# Date created: 5 Jul 2001
|
|
# Whom: will
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= netraider
|
|
PORTVERSION= 0.0.2
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.mandragon.org/raider/
|
|
DISTNAME= ${PORTNAME}-source-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
USE_QT_VER= 2
|
|
USE_OPENSSL= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
CFLAGS+= -DBSD
|
|
SUBST= ${WRKSRC}/konq-embed/src/Makefile.in
|
|
|
|
pre-configure:
|
|
find ${WRKSRC} -name Makefile.am | xargs ${PERL} -pi -e \
|
|
"s@-lqt@-lqt @g; s@ -lqt @ -lqt2@g"
|
|
${CP} ${WRKSRC}/konq-embed/src/konqueror ${WRKSRC}/konq-embed/src/konq-embedded
|
|
${CP} ${SUBST} ${SUBST}.bak && ${SED} \
|
|
-e 's,^bindir = $$(prefix),bindir= ${PREFIX}/bin,g' \
|
|
-e 's,bin_SCRIPTS = konqueror,bin_SCRIPTS= konq-embedded,g' \
|
|
-e 's,-lqt,-lqt ,g' \
|
|
-e 's, -lqt , -lqt2,g' \
|
|
${SUBST}.bak > ${SUBST}
|
|
|
|
.include <bsd.port.mk>
|