1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/net-p2p/awgg/Makefile
Jose Alonso Cardenas Marquez c0b7145df2 - Rebuild bootstrap (ppcx64 and ppc386) with ld patches
- Fix build on 12-STABLE and CURRENT (amd64 and i386)
- Bump PORTREVISION for all ports that depends of lang/fpc
- Add USE_BINUTILS to fpc and lazarus based ports
- Add binutils dependency to Uses/fpc.mk and Uses/lazarus.mk

PR:		240293 239934 233413 214864
Exp-run by:	antoine
2019-09-03 15:51:50 +00:00

56 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= awgg
PORTVERSION= 0.5.1
PORTREVISION= 4
CATEGORIES= net-p2p
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
MAINTAINER= acm@FreeBSD.org
COMMENT= Advanced wget GUI
LICENSE= GPLv2
RUN_DEPENDS= aria2c:www/aria2 \
wget:ftp/wget \
curl:ftp/curl \
youtube-dl:www/youtube_dl \
axel:ftp/axel
gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5
qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2
USES= fpc lazarus:flavors
USE_FPC= chm fcl-base fcl-db fcl-image fcl-json fcl-registry fcl-xml \
pasjpeg regexpr rtl-extra rtl-objpas x11
USE_XORG= x11
USE_GITHUB= yes
GH_ACCOUNT= Nenirey
GH_PROJECT= AWGG
GH_TAGNAME= 28d009f
DESKTOP_ENTRIES="AWGG" \
"Advanced wget GUI" \
"${PREFIX}/share/pixmaps/AWGG16x16.png" \
"${PORTNAME}" \
"Network;P2P;" \
${TRUE}
USE_FPC_gtk2= cairo
USE_GNOME_gtk2= cairo
USE_FPC+= ${USE_FPC_${FLAVOR}}
USE_GNOME+= ${USE_GNOME_${FLAVOR}}
LAZBUILD_ARGS= -d
LAZARUS_PROJECT_FILES= src/awgg.lpi
post-patch:
${REINPLACE_CMD} 's|/usr/bin/shutdown|/sbin/shutdown|g' ${WRKSRC}/src/fmain.pas
${REINPLACE_CMD} 's|/usr|${LOCALBASE}|g' ${WRKSRC}/src/fmain.pas
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
cd ${WRKSRC}/pixmaps && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>