[Midnightbsd-cvs] mports [19846] trunk/sysutils/batmon: fix depends on gnustep

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Aug 20 07:58:13 EDT 2015


Revision: 19846
          http://svnweb.midnightbsd.org/mports/?rev=19846
Author:   laffer1
Date:     2015-08-20 07:58:12 -0400 (Thu, 20 Aug 2015)
Log Message:
-----------
fix depends on gnustep

Modified Paths:
--------------
    trunk/sysutils/batmon/Makefile
    trunk/sysutils/batmon/pkg-plist

Modified: trunk/sysutils/batmon/Makefile
===================================================================
--- trunk/sysutils/batmon/Makefile	2015-08-20 11:57:09 UTC (rev 19845)
+++ trunk/sysutils/batmon/Makefile	2015-08-20 11:58:12 UTC (rev 19846)
@@ -2,9 +2,9 @@
 
 PORTNAME=	batmon
 PORTVERSION=	0.6
+PORTREVISION=	1
 CATEGORIES=	sysutils gnustep
-MASTER_SITES=	${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR=	gap
+MASTER_SITES=	SAVANNAH/gap
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	GNUstep battery monitor for laptops
@@ -11,13 +11,14 @@
 
 LICENSE=	gpl2
 
-USE_GNUSTEP=	yes
-USE_GNUSTEP_BACK=	yes
-USE_GNUSTEP_BUILD=	yes
-USE_GNUSTEP_INSTALL=	yes
+USES=		gnustep
+USE_GNUSTEP=	back build
 
 post-patch:
 	${REINPLACE_CMD} -e 's|^GNUSTEP_INSTALLATION_DIR|#GNUSTEP_INSTALLATION_DIR|' \
 		${WRKSRC}/GNUmakefile
 
+post-install:
+	${STRIP_CMD} ${PREFIX}/GNUstep/Local/Applications/batmon.app/batmon
+
 .include <bsd.port.mk>

Modified: trunk/sysutils/batmon/pkg-plist
===================================================================
--- trunk/sysutils/batmon/pkg-plist	2015-08-20 11:57:09 UTC (rev 19845)
+++ trunk/sysutils/batmon/pkg-plist	2015-08-20 11:58:12 UTC (rev 19846)
@@ -11,6 +11,3 @@
 GNUstep/Local/Applications/batmon.app/batmon
 GNUstep/Local/Applications/batmon.app/stamp.make
 GNUstep/Local/Tools/batmon
- at dirrm GNUstep/Local/Applications/batmon.app/Resources/batmon.gorm
- at dirrm GNUstep/Local/Applications/batmon.app/Resources
- at dirrm GNUstep/Local/Applications/batmon.app



More information about the Midnightbsd-cvs mailing list