diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2011-08-09 21:19:19 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2011-08-09 21:19:19 +0800 |
commit | 64c6d59d4067f9ac7f1602f9cdbd7e2aabcef6a8 (patch) | |
tree | 08b84fb6f28545c40b06062c60260d86acba596a /editors | |
parent | 2e1b589e30b6767b3b0cab89fedd852e15ee3bed (diff) | |
download | freebsd-ports-gnome-64c6d59d4067f9ac7f1602f9cdbd7e2aabcef6a8.tar.gz freebsd-ports-gnome-64c6d59d4067f9ac7f1602f9cdbd7e2aabcef6a8.tar.zst freebsd-ports-gnome-64c6d59d4067f9ac7f1602f9cdbd7e2aabcef6a8.zip |
- Fix MASTER_SITES
- Add LICENSE
- Add MAKE_JOBS_SAFE
PR: 159436
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/gnotepad+/Makefile | 49 |
1 files changed, 29 insertions, 20 deletions
diff --git a/editors/gnotepad+/Makefile b/editors/gnotepad+/Makefile index a96e338a9556..65997506318b 100644 --- a/editors/gnotepad+/Makefile +++ b/editors/gnotepad+/Makefile @@ -9,40 +9,34 @@ PORTNAME= gnotepad+ PORTVERSION= 1.3.3 PORTREVISION= 8 CATEGORIES= editors www gnome -MASTER_SITES= SF/gnotepad/gnotepad-stable/${PORTVERSION} +MASTER_SITES= SF/gnotepad/gnotepad-stable/${PORTVERSION} \ + SF/gnotepad/gnotepad%20User_s%20Manual/${DOCVERSION}:doc +DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:DEFAULT .if !defined(NOPORTDOCS) -DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \ - ${PORTNAME}-help-${DOCVERSION}${EXTRACT_SUFX} +DISTFILES+= ${PORTNAME}-help-${DOCVERSION}${EXTRACT_SUFX}:doc .endif MAINTAINER= ports@FreeBSD.org COMMENT= Simple GTK-based text/HTML editor -DOCVERSION= 1.2.0 +LICENSE= GPLv2 GPLv3 +LICENSE_COMB= dual -USE_GETTEXT= yes USE_XORG= xpm -WANT_GNOME= yes USE_GNOME= gnomeprefix gtk12 +USE_GETTEXT= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" +CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" +MAKE_JOBS_SAFE= yes -MAN1= gnp.1 +MAN1= gnp.1 -.include <bsd.port.pre.mk> +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib -post-patch: - @${REINPLACE_CMD} -e 's|\(use_gtkhtml=\)yes|\1no|g' ${WRKSRC}/configure +DOCVERSION= 1.2.0 -.if !defined(NOPORTDOCS) -PLIST_SUB+= NOPORTDOCS="@comment " -post-extract: - @${MV} ${WRKSRC}/docs ${WRKSRC}/docs.old - @${CP} -R ${WRKDIR}/${PORTNAME}-help-${DOCVERSION}/docs ${WRKSRC}/docs -.else -PLIST_SUB+= NOPORTDOCS="" -.endif +.include <bsd.port.pre.mk> .if ${HAVE_GNOME:Mgnomelibs}!="" USE_GNOME+= gnomelibs @@ -51,4 +45,19 @@ PKGNAMESUFFIX= -gnome CONFIGURE_ARGS+=--disable-gnome .endif +.if defined(NOPORTDOCS) +PLIST_SUB+= NOPORTDOCS="" +.else +PLIST_SUB+= NOPORTDOCS="@comment " +.endif + +post-extract: +.if !defined(NOPORTDOCS) + @${MV} ${WRKSRC}/docs ${WRKSRC}/docs.old + @${CP} -R ${WRKDIR}/${PORTNAME}-help-${DOCVERSION}/docs ${WRKSRC}/docs +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|\(use_gtkhtml=\)yes|\1no|g' ${WRKSRC}/configure + .include <bsd.port.post.mk> |