blob: d1596cd320630e9bf4a1604fba88d5aec3407fd8 (
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
38
39
40
41
|
# New ports collection makefile for: frickin
# Date created: 2 December 2006
# Whom: Alex Miller <asm@asm.kiev.ua>
#
# $FreeBSD$
#
PORTNAME= frickin
DISTVERSION= 2.0BETA2
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/OldFiles
EXTRACT_SUFX= .tgz
MAINTAINER= asm@asm.kiev.ua
COMMENT= Frickin PPTP Proxy
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_RC_SUBR= frickin
SUB_FILES= pkg-message
PORTDOCS= INSTALL LICENSE
PLIST_FILES= sbin/frickin2 etc/frickin.conf.sample
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g;' \
${WRKSRC}/src/Makefile.FreeBSD
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME}2 ${PREFIX}/sbin/${PORTNAME}2
${INSTALL_DATA} ${WRKSRC}/frickin.conf.default ${PREFIX}/etc/frickin.conf.sample
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|