Index: Makefile =================================================================== --- Makefile +++ Makefile @@ -0,0 +1,56 @@ +# $FreeBSD$ + +PORTNAME= awgg +PORTVERSION= 0.5.1 +CATEGORIES= net-p2p +PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} + +MAINTAINER= acm@FreeBSD.org +COMMENT= Advanced wget GUI + +LICENSE= GPLv2 + +gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt4 ${PORTNAME}-qt5 +qt4_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt5 +qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt4 + +RUN_DEPENDS= aria2c:www/aria2 \ + wget:ftp/wget \ + curl:ftp/curl \ + youtube-dl:www/youtube_dl \ + axel:ftp/axel + +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} + +LAZBUILD_ARGS= -d + +LAZARUS_PROJECT_FILES= src/awgg.lpi + +.if ${FLAVOR:Ugtk2:Mgtk2} +USE_FPC+= cairo +USE_GNOME+= cairo +.endif + +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 Index: distinfo =================================================================== --- distinfo +++ distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1524841810 +SHA256 (Nenirey-AWGG-0.5.1-28d009f_GH0.tar.gz) = ee65d1c2676824fa47c08d44041ceb5cb365e72387732d9247b7859fb37e5812 +SIZE (Nenirey-AWGG-0.5.1-28d009f_GH0.tar.gz) = 2565386 Index: pkg-descr =================================================================== --- pkg-descr +++ pkg-descr @@ -0,0 +1,19 @@ +AWGG comes from Advanced Wget GUI. AWGG is a lightweight multiplatform and +multilanguage download manager, basically a wget frontend and other tools like +aria2, curl, youtube-dl and axel. AWGG is written in Free Pascal , using +CodeTyphon and Lazarus IDE. + +Features: + + Status filter download. + Batch download. + Manage multiple downloads engines at the same time. + Multiple schedules. + Clipboard monitoring. + Notification system. + Proxy configuration. + Multiple queues. + Supports HTTP, HTTPS, FTP. + Drop box + +WWW: https://github.com/Nenirey/AWGG Index: pkg-plist =================================================================== --- pkg-plist +++ pkg-plist @@ -0,0 +1,10 @@ +bin/awgg +share/pixmaps/AWGG.ico +share/pixmaps/AWGG128x128.png +share/pixmaps/AWGG16x16.png +share/pixmaps/AWGG256x256.png +share/pixmaps/AWGG32x32.png +share/pixmaps/AWGG48x48.png +share/pixmaps/AWGG64x64.png +share/pixmaps/DropBox.png +share/pixmaps/DropBox30x30.png