|
Lines 3-14
Link Here
|
| 3 |
|
3 |
|
| 4 |
PORTNAME= digitalcoin |
4 |
PORTNAME= digitalcoin |
| 5 |
PORTVERSION= 1.0.0.0b |
5 |
PORTVERSION= 1.0.0.0b |
| 6 |
PORTREVISION= 3 |
6 |
PORTREVISION= 4 |
| 7 |
CATEGORIES= net-p2p |
7 |
CATEGORIES= net-p2p |
| 8 |
|
8 |
|
| 9 |
MAINTAINER= myst3r10n@rocketmail.com |
9 |
MAINTAINER= myst3r10n@rocketmail.com |
| 10 |
COMMENT= Alternative Bitcoin peer-to-peer currency client |
10 |
COMMENT= Alternative Bitcoin peer-to-peer currency client |
| 11 |
|
11 |
|
|
|
12 |
LICENSE= MIT |
| 13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
| 14 |
|
| 12 |
LIB_DEPENDS= libboost_date_time.so:${PORTSDIR}/devel/boost-libs \ |
15 |
LIB_DEPENDS= libboost_date_time.so:${PORTSDIR}/devel/boost-libs \ |
| 13 |
libminiupnpc.so:${PORTSDIR}/net/miniupnpc |
16 |
libminiupnpc.so:${PORTSDIR}/net/miniupnpc |
| 14 |
|
17 |
|
|
Lines 16-28
Link Here
|
| 16 |
GH_ACCOUNT= baritus |
19 |
GH_ACCOUNT= baritus |
| 17 |
GH_TAGNAME= 96b098a |
20 |
GH_TAGNAME= 96b098a |
| 18 |
|
21 |
|
| 19 |
USES= gmake |
22 |
USES= desktop-file-utils gmake |
| 20 |
USE_OPENSSL= yes |
23 |
USE_OPENSSL= yes |
| 21 |
USE_BDB= yes |
24 |
USE_BDB= yes |
| 22 |
WANT_BDB_VER= 48 |
25 |
WANT_BDB_VER= 48 |
| 23 |
USE_QT4= corelib gui qmake_build linguist uic moc rcc |
26 |
USE_QT4= corelib gui qmake_build linguisttools_build uic_build \ |
|
|
27 |
moc_build rcc_build |
| 24 |
|
28 |
|
| 25 |
PLIST_FILES= bin/${BINARY} share/applications/digitalcoin-qt.desktop share/pixmaps/digitalcoin.png |
29 |
PLIST_FILES= bin/${BINARY} share/applications/digitalcoin-qt.desktop \ |
|
|
30 |
share/pixmaps/digitalcoin.png |
| 26 |
|
31 |
|
| 27 |
BINARY= digitalcoin-qt |
32 |
BINARY= digitalcoin-qt |
| 28 |
|
33 |
|
|
Lines 30-38
Link Here
|
| 30 |
|
35 |
|
| 31 |
do-configure: |
36 |
do-configure: |
| 32 |
cd ${WRKSRC} && ${SETENV} ${QMAKE_ENV} \ |
37 |
cd ${WRKSRC} && ${SETENV} ${QMAKE_ENV} \ |
| 33 |
${QMAKE} ${QMAKE_ARGS} USE_UPNP=${QMAKE_USE_UPNP} USE_QRCODE=${QMAKE_USE_QRCODE} \ |
38 |
${QMAKE} ${QMAKE_ARGS} USE_UPNP=${QMAKE_USE_UPNP} \ |
| 34 |
QMAKE_LRELEASE=lrelease-qt4 PREFIX=${PREFIX} INCLUDEPATH=${BDB_INCLUDE_DIR} \ |
39 |
USE_QRCODE=${QMAKE_USE_QRCODE} \ |
| 35 |
QMAKE_LIBDIR+=${BDB_LIB_DIR} ${PORTNAME}-qt.pro |
40 |
QMAKE_LRELEASE=lrelease-qt4 PREFIX=${PREFIX} \ |
|
|
41 |
INCLUDEPATH=${BDB_INCLUDE_DIR} \ |
| 42 |
QMAKE_LIBDIR+=${BDB_LIB_DIR} ${PORTNAME}-qt.pro |
| 36 |
|
43 |
|
| 37 |
do-install: |
44 |
do-install: |
| 38 |
@${MKDIR} ${PREFIX}/bin |
45 |
@${MKDIR} ${PREFIX}/bin |
|
Lines 42-48
Link Here
|
| 42 |
-e 's,Bitcoin,Digitalcoin,g' \ |
49 |
-e 's,Bitcoin,Digitalcoin,g' \ |
| 43 |
-e 's,xpm,png,g' \ |
50 |
-e 's,xpm,png,g' \ |
| 44 |
-e 's,80,,g' ${WRKSRC}/contrib/debian/bitcoin-qt.desktop |
51 |
-e 's,80,,g' ${WRKSRC}/contrib/debian/bitcoin-qt.desktop |
| 45 |
${INSTALL} ${WRKSRC}/contrib/debian/bitcoin-qt.desktop ${STAGEDIR}${PREFIX}/share/applications/digitalcoin-qt.desktop |
52 |
${INSTALL} ${WRKSRC}/contrib/debian/bitcoin-qt.desktop \ |
| 46 |
${INSTALL} ${WRKSRC}/src/qt/res/icons/bitcoin.png ${STAGEDIR}${PREFIX}/share/pixmaps/digitalcoin.png |
53 |
${STAGEDIR}${PREFIX}/share/applications/digitalcoin-qt.desktop |
|
|
54 |
${INSTALL} ${WRKSRC}/src/qt/res/icons/bitcoin.png \ |
| 55 |
${STAGEDIR}${PREFIX}/share/pixmaps/digitalcoin.png |
| 47 |
|
56 |
|
| 48 |
.include <bsd.port.post.mk> |
57 |
.include <bsd.port.post.mk> |