blob: efea5af918b440b7f96d39ada019af10f956f3ff (
plain)
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
|
PORTNAME= dsd
PORTVERSION= 1.6.0
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= comms hamradio
MAINTAINER= takefu@airport.fm
COMMENT= Decode several digital voice formats
LICENSE= ISCL
LIB_DEPENDS= libmbe.so:comms/mbelib
USE_GITHUB= yes
GH_ACCOUNT= szechyjs
USE_LDCONFIG= yes
PLIST_FILES= "@(,uucp,4555) bin/dsd"
MAKE_ARGS= DEST_BASE=${STAGEDIR}${PREFIX}
PORTDOCS= README
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -Ee '/ch(grp|mod)/d' -e 's|${PREFIX}|${LOCALBASE}|g;\
s|install|${INSTALL_PROGRAM}|g;\
s|gcc|${CC}|g'\
${WRKSRC}/Makefile
.for i in dsd.h dsd_file.c dsd_mbe.c
${REINPLACE_CMD} 's|2250|2450|' ${WRKSRC}/${i}
.endfor
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|