aboutsummaryrefslogtreecommitdiffstats
path: root/misc/amfm/Makefile
blob: 0481f0e4ccd18f730334851331a295021dfdcbfc (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
# Created by: sanpei@FreeBSD.org
# $FreeBSD$

PORTNAME=   amfm
PORTVERSION=    1.0
CATEGORIES= misc
MASTER_SITES=   http://github.com/ikegam/amfm/raw/9679aa06eead7ed3571480e892f426828e17e361/ \
        LOCAL/sanpei
DISTNAME=   amfm
EXTRACT_SUFX=   .c

MAINTAINER= sanpei@FreeBSD.org
COMMENT=    THANKO USB AM/FM Radio controller

LIB_DEPENDS=    libhid.so:devel/libhid

NO_WRKSUBDIR=   yes

EXTRACT_CMD=            ${CP}
EXTRACT_BEFORE_ARGS=    -p
EXTRACT_AFTER_ARGS=     ${WRKSRC}

do-install:
    @${INSTALL} ${WRKSRC}/amfm ${STAGEDIR}${PREFIX}/bin/amfm
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/amfm

.include <bsd.port.mk>