1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/ftp/multiget/Makefile
Pawel Pekala 87d3ab0421 - Fix build with clang
- Add desktop entry file
- Support staging

PR:		ports/184814
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-19 14:02:50 +00:00

43 lines
926 B
Makefile

# Created by: alepulver
# $FreeBSD$
PORTNAME= multiget
PORTVERSION= 1.1.3
PORTREVISION= 7
CATEGORIES= ftp www
MASTER_SITES= SF/${PORTNAME}/OldFiles
MAINTAINER= ports@FreeBSD.org
COMMENT= HTTP/FTP downloader with a nice GUI
WRKSRC_SUBDIR= src
USES= dos2unix
USE_WX= 2.6+
MAKEFILE= makefile
ALL_TARGET= MultiGet
PLIST_FILES= bin/${PORTNAME} share/pixmaps/MultiGet.png
DESKTOP_ENTRIES="MultiGet" "" "${PREFIX}/share/pixmaps/MultiGet.png" \
"${PORTNAME}" "" ""
post-patch:
@${REINPLACE_CMD} -e \
's|$$(CC)|$$(CXX)| ; \
s|$$(CFLAGS)|$$(CXXFLAGS)| ; \
s|^CC =|CXX ?=| ; \
s|^CFLAGS =|CXXFLAGS +=| ; \
s| -O2 | | ; \
s| -s | | ; \
s|wx-config|$${WX_CONFIG}|' \
${WRKSRC}/${MAKEFILE}
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} MultiGet \
${STAGEDIR}${PREFIX}/bin/${PORTNAME})
(cd ${WRKSRC}/.. && ${INSTALL_DATA} MultiGet.png \
${STAGEDIR}${PREFIX}/share/pixmaps)
.include <bsd.port.mk>