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