blob: acd3897947f920e36c6813fb740fb9f50435fac5 (
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
|
PORTNAME= picprog
PORTVERSION= 1.9.1
CATEGORIES= devel
MASTER_SITES= http://hyvatti.iki.fi/~jaakko/pic/
MAINTAINER= erik@bz.bzflag.bz
COMMENT= Serial port pic16c84 programmer
WWW= http://hyvatti.iki.fi/~jaakko/pic/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS_DEFINE= DOCS
USES= gmake
PLIST_FILES= bin/picprog \
man/man1/picprog.1.gz
PORTDOCS= README anybrowser3.png jdm84ne3.png jdm84pcb6.png picprog.html
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= uses x86 assembly
post-patch:
@${REINPLACE_CMD} -e 's|^CXX=.*||; s|^CXXFLAGS=.*||; s|^LDFLAGS=.*||' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/picprog ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/picprog.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in README *.png picprog.html
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>
|