Lines 1-3
Link Here
|
|
|
1 |
# Created by: C Hutchinson <portmaster@bsdforge.com> |
1 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
2 |
|
3 |
|
3 |
PORTNAME= ipsorc |
4 |
PORTNAME= ipsorc |
Lines 5-19
Link Here
|
5 |
PORTREVISION= 4 |
6 |
PORTREVISION= 4 |
6 |
CATEGORIES= net security |
7 |
CATEGORIES= net security |
7 |
MASTER_SITES= http://200ok.org/distfiles/ipsorc/ \ |
8 |
MASTER_SITES= http://200ok.org/distfiles/ipsorc/ \ |
8 |
http://sorcerer.mirrors.pair.com/sources/ipsorcery/${PORTVERSION}/ |
9 |
http://bsdforge.com/projects/source/net/ipsorcery/ |
9 |
|
10 |
|
10 |
MAINTAINER= ports@FreeBSD.org |
11 |
MAINTAINER= portmaster@bsdforge.com |
11 |
COMMENT= Tool to create and send IP packets with a graphical GTK front-end |
12 |
COMMENT= Tool to create and send IP packets with a graphical GTK front-end |
12 |
|
13 |
|
|
|
14 |
LICENSE= GPLv2 |
15 |
|
13 |
USE_GNOME= gtk12 |
16 |
USE_GNOME= gtk12 |
14 |
USES= tar:bzip2 |
17 |
USES= tar:bzip2 |
15 |
|
18 |
|
16 |
NO_STAGE= yes |
19 |
OPTIONS_DEFINE= DOCS |
|
|
20 |
PORTDOCS= README HOWTO |
21 |
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME} |
22 |
|
23 |
SCRIPTS= ipmagic magic |
24 |
|
25 |
.include <bsd.port.options.mk> |
26 |
|
17 |
post-patch: |
27 |
post-patch: |
18 |
@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old |
28 |
@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old |
19 |
@${SED} s,gtk-config,${GTK_CONFIG}, < ${WRKSRC}/Makefile.old \ |
29 |
@${SED} s,gtk-config,${GTK_CONFIG}, < ${WRKSRC}/Makefile.old \ |
Lines 21-34
Link Here
|
21 |
@${RM} ${WRKSRC}/Makefile.old |
31 |
@${RM} ${WRKSRC}/Makefile.old |
22 |
|
32 |
|
23 |
do-install: |
33 |
do-install: |
24 |
.for file in ipmagic magic |
34 |
${INSTALL_PROGRAM} ${SCRIPTS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin |
25 |
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin |
35 |
.if ${PORT_OPTIONS:MDOCS} |
26 |
.endfor |
36 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
27 |
.if !defined(NOPORTDOCS) |
37 |
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} |
28 |
${MKDIR} ${DOCSDIR} |
|
|
29 |
.for i in README HOWTO |
30 |
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} |
31 |
.endfor |
32 |
.endif |
38 |
.endif |
33 |
|
39 |
|
34 |
.include <bsd.port.mk> |
40 |
.include <bsd.port.mk> |