diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-12-29 17:09:29 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-12-29 17:09:29 +0000 |
commit | 4aee74a6a89112a4e73d513f45f4a043218d73ec (patch) | |
tree | 2055c10935f1872d3471ca931dfd1a773727160d /mail/wmmaiload | |
parent | cd06c861be575a2947cf51e4b4b61aa3d85fa021 (diff) | |
download | ports-4aee74a6a89112a4e73d513f45f4a043218d73ec.tar.gz ports-4aee74a6a89112a4e73d513f45f4a043218d73ec.zip |
Notes
Diffstat (limited to 'mail/wmmaiload')
-rw-r--r-- | mail/wmmaiload/Makefile | 46 | ||||
-rw-r--r-- | mail/wmmaiload/distinfo | 4 |
2 files changed, 16 insertions, 34 deletions
diff --git a/mail/wmmaiload/Makefile b/mail/wmmaiload/Makefile index d0187eea43c5..4c2e5794ba58 100644 --- a/mail/wmmaiload/Makefile +++ b/mail/wmmaiload/Makefile @@ -2,18 +2,19 @@ # $FreeBSD$ PORTNAME= wmmaiload -PORTVERSION= 2.2.1 -PORTREVISION= 5 +PORTVERSION= 2.3.0 CATEGORIES= mail windowmaker MASTER_SITES= http://tnemeth.free.fr/projets/programmes/ MAINTAINER= ports@FreeBSD.org COMMENT= Incoming mail monitor dockapp with a similar look to wmcpuload -OPTIONS_DEFINE= GTK2 +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake pkgconfig +USES= gmake localbase pkgconfig tar:bzip2 USE_XORG= xpm +USE_GNOME= gtk20 USE_OPENSSL= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} @@ -21,29 +22,16 @@ MAKE_ENV= DEBUG_CFLAGS="-I${OPENSSLINC}" \ DEBUG_LDFLAGS="-L${OPENSSLLIB}" CFLAGS+= -D_GNU_SOURCE -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lcrypto PLIST_FILES= bin/wmmaiload bin/wmmaiload-config \ man/man1/wmmaiload.1.gz man/man1/wmmaiload-config.1.gz -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MGTK2} -USE_GNOME+= gtk20 -MAKE_ENV+= GTK_CFLAGS="pkg-config --cflags gtk+-2.0" \ - GTK_LIBS="pkg-config --libs gtk+-2.0" -.else -USE_GNOME+= gtk12 -MAKE_ENV+= GTK_CFLAGS="pkg-config --cflags gtk+" \ - GTK_LIBS="pkg-config --libs gtk+" -.endif - post-patch: @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \ 's| =| ?=|' .for i in wmmaiload/Init.make - @${REINPLACE_CMD} -e 's|-L/usr/X11R6/lib||g' ${WRKSRC}/${i} + @${REINPLACE_CMD} -e "s|'-lssl'|'-lssl -lcrypto'| ; \ + s|-L/usr/X11R6/lib||" ${WRKSRC}/${i} .endfor .for i in wmmaiload/checkthread.c @${REINPLACE_CMD} -e 's|isnumber(|isnum(|g' ${WRKSRC}/${i} @@ -51,27 +39,21 @@ post-patch: .for i in wmmaiload/main.h @${REINPLACE_CMD} -e '/time\.h>/d' ${WRKSRC}/${i} .endfor -.for i in wmmaiload-config/Init.make - @${REINPLACE_CMD} -e 's|gtk-config --cflags|$${GTK_CFLAGS}|g ; \ - s|gtk-config --libs|$${GTK_LIBS}|g' ${WRKSRC}/${i} +.for i in wmmaiload/ssl.c + @${REINPLACE_CMD} -e 's|SSLv2_client_method|SSLv23_client_method|' \ + ${WRKSRC}/${i} .endfor -.for i in wmmaiload-config/dialogs.c wmmaiload-config/mainwindow.c \ - wmmaiload-config/popedit.c - @${REINPLACE_CMD} -e 's|_widget_draw_default|_widget_queue_draw|g ; \ - s|remove;|rm;|g ; \ +.for i in wmmaiload-config/mainwindow.c + @${REINPLACE_CMD} -e 's|remove;|rm;|g ; \ s|remove,|rm,|g ; \ s|remove =|rm =|g ; \ s|PACKAGE"-config"|PACKAGE|g' ${WRKSRC}/${i} .endfor - @${REINPLACE_CMD} 's/SSLv2_client_method/SSLv23_client_method/' \ - ${WRKSRC}/wmmaiload/ssl.c do-install: .for i in wmmaiload wmmaiload-config - (cd ${WRKSRC}/${i} && ${INSTALL_PROGRAM} ${i} \ - ${STAGEDIR}${PREFIX}/bin) - (cd ${WRKSRC}/doc && ${INSTALL_MAN} ${i}.1 \ - ${STAGEDIR}${MANPREFIX}/man/man1) + ${INSTALL_PROGRAM} ${WRKSRC}/${i}/${i} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/doc/${i}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .endfor .include <bsd.port.mk> diff --git a/mail/wmmaiload/distinfo b/mail/wmmaiload/distinfo index cc416e74fab9..be639a4de2a0 100644 --- a/mail/wmmaiload/distinfo +++ b/mail/wmmaiload/distinfo @@ -1,2 +1,2 @@ -SHA256 (wmmaiload-2.2.1.tar.gz) = f8f281590c238a713d38825b698931bf73459125eb47bbba8c2e1d8ff1b11d3f -SIZE (wmmaiload-2.2.1.tar.gz) = 183538 +SHA256 (wmmaiload-2.3.0.tar.bz2) = 54d2e35ddc7b5e7cd0be9b3db90d26d9289ac436c6ae9a6c2063afe17ce80ad8 +SIZE (wmmaiload-2.3.0.tar.bz2) = 42852 |