blob: fe14da293dc27e5613a605e450cd10c0b0794fec (
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
|
# Created by: Boris Samorodov <bsam@FreeBSD.org>
# $FreeBSD$
PORTNAME= lvwimax
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.wart.ru/pub/download/ \
${MASTER_SITE_LOCAL}
MAINTAINER= bsam@FreeBSD.org
COMMENT= Userland driver for Samsung WiMAX modems
LICENSE= GPLv2
USE_RC_SUBR= lvwimax
PLIST_FILES= etc/devd/lvwimax.conf sbin/lvwimax
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile
post-install:
@${MKDIR} ${PREFIX}/etc/devd
@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \
< ${FILESDIR}/lvwimax.conf.in > ${WRKDIR}/lvwimax.conf
${INSTALL_DATA} "${WRKDIR}/lvwimax.conf" ${PREFIX}/etc/devd
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|