aboutsummaryrefslogtreecommitdiffstats
path: root/security/dissembler/Makefile
blob: 8d609153621ce0d01e8742c5b8314921a6940d87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Ports collection makefile for:  dissembler
# Date created:           13 Mar 2005
# Whom:               Yonatan <onatan@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   dissembler
PORTVERSION=    0.9
CATEGORIES= security
MASTER_SITES=   http://www.l0t3k.net/tools/ShellCode/
DISTNAME=   ${PORTNAME}_${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= onatan@gmail.com
COMMENT=    A tool that polymorphs bytecode to a printable ASCII string

WRKSRC= ${WRKDIR}/${DISTNAME}
PLIST_FILES=bin/${PORTNAME}
PORTDOCS=   ${PORTNAME}.txt

do-build:
    ${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
.   if !defined(NOPORTDOCS)
        ${MKDIR} ${DOCSDIR}
        ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.txt ${DOCSDIR}
.   endif

.include <bsd.port.mk>