ports/179706: [PATCH] x11/lxmenu-data: Add license and docs, take maintainership

nemysis nemysis at gmx.ch
Wed Jun 19 08:10:00 UTC 2013


>Number:         179706
>Category:       ports
>Synopsis:       [PATCH] x11/lxmenu-data: Add license and docs, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 19 08:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013
>Description:

- Take maintainership
- Shorten header
- Add license (GPLv2)
- Add docs

Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_7 (mode: change, diff: ports)
>How-To-Repeat:

Port not install NLS, but with GNU/Linux comptibility find intltool.

Build log

https://redports.org/buildarchive/20130619072000-52410/

>Fix:

--- lxmenu-data-0.1.2.patch begins here ---
diff -ruN /usr/ports/x11/lxmenu-data/Makefile ./Makefile
--- /usr/ports/x11/lxmenu-data/Makefile	2013-06-18 18:26:39.000000000 +0200
+++ ./Makefile	2013-06-19 10:02:47.000000000 +0200
@@ -1,24 +1,35 @@
-# New ports collection makefile for:	lxmenu-data
-# Date created:		Fri Sept 24 09:52:35 EST 2010
-# Whom:			Kris Moore <kmoore at freebsd.org>
-#
+# Created by: Kris Moore <kmoore at freebsd.org>
 # $FreeBSD: head/x11/lxmenu-data/Makefile 321199 2013-06-18 15:55:34Z kmoore $
-#
 
 PORTNAME=	lxmenu-data
 PORTVERSION=	0.1.2
 CATEGORIES=	x11
-MASTER_SITES=	SF/lxde/lxmenu-data%20%28desktop%20menu%29/lxmenu-data%20${PORTVERSION}
+MASTER_SITES=	SF/lxde/lxmenu-data%20%28desktop%20menu%29/lxmenu-data%20${PORTVERSION}/
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	nemysis at gmx.ch
 COMMENT=	Menu data used by lxpanel
 
+LICENSE=	GPLv2
+
+USES=		gettext
 USE_XORG=	x11 xmu
 USE_GNOME=	intltool
-USES=		gettext
-GNU_CONFIGURE=	yes
 USE_AUTOTOOLS=	automake:env
+GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--prefix=${LOCALBASE} --sysconfdir=${LOCALBASE}/etc
 USE_GMAKE=	yes
 
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+PORTDOCS=	AUTHORS README TODO
+
+.include <bsd.port.options.mk>
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
 .include <bsd.port.mk>
--- lxmenu-data-0.1.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list