diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2011-08-09 13:19:19 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2011-08-09 13:19:19 +0000 |
commit | ad02239a3656534fadc835352b201b7f6b2556ae (patch) | |
tree | 942e6719c4280fa0cd5732207c599fa3342e6e32 | |
parent | 41ddb98966664fc1c713f569149583c616eff7c9 (diff) | |
download | ports-ad02239a3656534fadc835352b201b7f6b2556ae.tar.gz ports-ad02239a3656534fadc835352b201b7f6b2556ae.zip |
Notes
-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> |