Lines 3-31
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= multiget |
4 |
PORTNAME= multiget |
5 |
PORTVERSION= 1.1.3 |
5 |
PORTVERSION= 1.1.3 |
6 |
PORTREVISION= 6 |
6 |
PORTREVISION= 7 |
7 |
CATEGORIES= ftp www |
7 |
CATEGORIES= ftp www |
8 |
MASTER_SITES= SF/${PORTNAME}/OldFiles |
8 |
MASTER_SITES= SF/${PORTNAME}/OldFiles |
9 |
|
9 |
|
10 |
MAINTAINER= ports@FreeBSD.org |
10 |
MAINTAINER= ports@FreeBSD.org |
11 |
COMMENT= An http/ftp downloader with a nice GUI |
11 |
COMMENT= HTTP/FTP downloader with a nice GUI |
12 |
|
12 |
|
|
|
13 |
WRKSRC_SUBDIR= src |
14 |
|
15 |
USES= dos2unix |
13 |
USE_WX= 2.6+ |
16 |
USE_WX= 2.6+ |
14 |
MAKEFILE= makefile |
17 |
MAKEFILE= makefile |
15 |
ALL_TARGET= MultiGet |
18 |
ALL_TARGET= MultiGet |
16 |
WRKSRC= ${WRKDIR}/${DISTNAME}/src |
|
|
17 |
|
19 |
|
18 |
PLIST_FILES= bin/${PORTNAME} |
20 |
PLIST_FILES= bin/${PORTNAME} share/pixmaps/MultiGet.png |
|
|
21 |
|
22 |
DESKTOP_ENTRIES="MultiGet" "" "${PREFIX}/share/pixmaps/MultiGet.png" \ |
23 |
"${PORTNAME}" "" "" |
19 |
|
24 |
|
20 |
NO_STAGE= yes |
|
|
21 |
post-patch: |
25 |
post-patch: |
22 |
@${REINPLACE_CMD} -e \ |
26 |
@${REINPLACE_CMD} -e \ |
23 |
's|g++|${CXX}|; \ |
27 |
's|$$(CC)|$$(CXX)| ; \ |
24 |
s|\(CFLAGS\) =|\1 +=|; \ |
28 |
s|$$(CFLAGS)|$$(CXXFLAGS)| ; \ |
25 |
s|wx-config|${WX_CONFIG}|' \ |
29 |
s|^CC =|CXX ?=| ; \ |
|
|
30 |
s|^CFLAGS =|CXXFLAGS +=| ; \ |
31 |
s| -O2 | | ; \ |
32 |
s| -s | | ; \ |
33 |
s|wx-config|$${WX_CONFIG}|' \ |
26 |
${WRKSRC}/${MAKEFILE} |
34 |
${WRKSRC}/${MAKEFILE} |
27 |
|
35 |
|
28 |
do-install: |
36 |
do-install: |
29 |
${INSTALL_PROGRAM} ${WRKSRC}/MultiGet ${PREFIX}/bin/${PORTNAME} |
37 |
(cd ${WRKSRC} && ${INSTALL_PROGRAM} MultiGet \ |
|
|
38 |
${STAGEDIR}${PREFIX}/bin/${PORTNAME}) |
39 |
(cd ${WRKSRC}/.. && ${INSTALL_DATA} MultiGet.png \ |
40 |
${STAGEDIR}${PREFIX}/share/pixmaps) |
30 |
|
41 |
|
31 |
.include <bsd.port.mk> |
42 |
.include <bsd.port.mk> |