Lines 6-16
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= nbc |
8 |
PORTNAME= nbc |
9 |
PORTVERSION= 1.0.1.b34 |
9 |
PORTVERSION= 1.0.1.b36 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= lang |
10 |
CATEGORIES= lang |
12 |
MASTER_SITES= SF/bricxcc/NBC_NXC/NBC%20beta%2034 |
11 |
MASTER_SITES= http://bricxcc.sourceforge.net/nbc/beta/:src \ |
13 |
DISTNAME= ${PORTNAME}-${PORTVERSION}.src |
12 |
SF/bricxcc/NBC_NXC/NBC_NXC%20beta%2035:doc |
|
|
13 |
DISTNAME= ${PORTNAME}-${PORTVERSION}.unix-src |
14 |
EXTRACT_SUFX= .tgz |
14 |
EXTRACT_SUFX= .tgz |
15 |
|
15 |
|
16 |
MAINTAINER= rambiusparkisanius@gmail.com |
16 |
MAINTAINER= rambiusparkisanius@gmail.com |
Lines 18-47
Link Here
|
18 |
|
18 |
|
19 |
RUN_DEPENDS= legoctl:${PORTSDIR}/devel/roboctl |
19 |
RUN_DEPENDS= legoctl:${PORTSDIR}/devel/roboctl |
20 |
|
20 |
|
|
|
21 |
.include <bsd.port.pre.mk> |
22 |
|
23 |
.if ${OSVERSION} < 800069 |
24 |
LIB_DEPENDS= usb:${PORTSDIR}/devel/libusb |
25 |
.endif |
26 |
|
21 |
USE_GMAKE= yes |
27 |
USE_GMAKE= yes |
22 |
USE_DOS2UNIX= yes |
28 |
USE_DOS2UNIX= yes |
23 |
USE_FPC= fcl-base |
29 |
USE_FPC= fcl-base fcl-image |
24 |
|
30 |
|
25 |
MAKEFILE= nbcfreebsd.mak |
|
|
26 |
SUB_FILES= pkg-message |
31 |
SUB_FILES= pkg-message |
27 |
WRKSRC= ${WRKDIR}/nxt |
32 |
WRKSRC= ${WRKDIR}/NXT |
28 |
|
33 |
|
29 |
PLIST_FILES= bin/nbc \ |
34 |
PLIST_FILES= bin/nbc \ |
30 |
share/nbc/history.txt \ |
|
|
31 |
share/nbc/readme.txt \ |
32 |
include/nbc/NXCDefs.h \ |
35 |
include/nbc/NXCDefs.h \ |
33 |
include/nbc/NBCCommon.h \ |
36 |
include/nbc/NBCCommon.h \ |
34 |
include/nbc/NXTDefs.h |
37 |
include/nbc/NXTDefs.h |
35 |
PLIST_DIRS= share/nbc \ |
38 |
PLIST_DIRS= include/nbc |
36 |
include/nbc |
39 |
|
|
|
40 |
.if !defined(NOPORTDOCS) |
41 |
PORTDOCS= Changelog \ |
42 |
Readme |
43 |
.endif |
44 |
|
45 |
.if !defined(NO_INSTALL_MANPAGES) |
46 |
MAN1= nbc.1 |
47 |
.endif |
48 |
|
49 |
post-patch: |
50 |
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile |
51 |
@${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' ${WRKSRC}/Makefile |
37 |
|
52 |
|
38 |
do-install: |
53 |
do-install: |
39 |
${MKDIR} ${PREFIX}/include/nbc ${PREFIX}/share/nbc |
54 |
${MKDIR} ${PREFIX}/include/nbc |
40 |
${INSTALL_PROGRAM} ${WRKSRC}/nbc ${PREFIX}/bin |
55 |
${INSTALL_PROGRAM} ${WRKSRC}/nbc ${PREFIX}/bin |
41 |
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/nbc |
56 |
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/nbc |
42 |
${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/nbc |
57 |
.if !defined(NOPORTDOCS) |
|
|
58 |
${MKDIR} ${DOCSDIR} |
59 |
${INSTALL_DATA} ${WRKDIR}/doc/Changelog ${DOCSDIR} |
60 |
${INSTALL_DATA} ${WRKDIR}/doc/Readme ${DOCSDIR} |
61 |
.endif |
62 |
.if !defined(NO_INSTALL_MANPAGES) |
63 |
${INSTALL_MAN} ${WRKDIR}/doc/nbc.1 ${MANPREFIX}/man/man1 |
64 |
.endif |
43 |
|
65 |
|
44 |
post-install: |
66 |
post-install: |
45 |
@${CAT} ${PKGMESSAGE} |
67 |
@${CAT} ${PKGMESSAGE} |
46 |
|
68 |
|
47 |
.include <bsd.port.mk> |
69 |
.include <bsd.port.post.mk> |