aboutsummaryrefslogtreecommitdiffstats
path: root/net/nstxd/Makefile
blob: ae964925e646c5bb603dec1fbe97a7a95516417a (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
33
34
35
36
37
# Created by: nagilum
# $FreeBSD$

PORTNAME=   nstxd
PORTVERSION=    1.1b6
CATEGORIES= net
MASTER_SITES=   http://www.nagilum.org/nstx/ \
        http://ftp.debian.org/debian/pool/main/n/nstx/
DISTNAME=   nstx_1.1-beta6.orig

PATCH_SITES=    http://www.nagilum.org/nstx/  \
        http://ftp.debian.org/debian/pool/main/n/nstx/
PATCH_DIST_STRIP=   -p1
PATCHFILES= nstx_1.1-beta6-4.diff.gz

MAINTAINER= freebsd@nagilum.org
COMMENT=    DNS tunnel server

MAN8=       nstxd.8
USE_RC_SUBR+=   nstxd

WRKSRC=     ${WRKDIR}/nstx-1.1-beta6

ALL_TARGET= nstxd
INSTALL_TARGET= nstxd

NO_STAGE=   yes
post-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/nstxd ${PREFIX}/sbin
    ${INSTALL_MAN} ${WRKSRC}/nstxd.8 ${PREFIX}/man/man8/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
    @${CAT} pkg-message
.endif  #NOPORTDOCS

.include <bsd.port.mk>