diff options
author | pat <pat@FreeBSD.org> | 2003-02-05 08:52:56 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2003-02-05 08:52:56 +0800 |
commit | 2f0e8f2e975d1f55a08419ef8b26ae677f72af43 (patch) | |
tree | 29ecaac58c3a18d56ad25f627d9f79871e360e5c /sysutils/mbmon/Makefile | |
parent | c212267c528b7eb140c7018bb6624ffee8e5cac4 (diff) | |
download | freebsd-ports-gnome-2f0e8f2e975d1f55a08419ef8b26ae677f72af43.tar.gz freebsd-ports-gnome-2f0e8f2e975d1f55a08419ef8b26ae677f72af43.tar.zst freebsd-ports-gnome-2f0e8f2e975d1f55a08419ef8b26ae677f72af43.zip |
Update to 201
PR: ports/42984
Submitted by: maintainer
Diffstat (limited to 'sysutils/mbmon/Makefile')
-rw-r--r-- | sysutils/mbmon/Makefile | 45 |
1 files changed, 17 insertions, 28 deletions
diff --git a/sysutils/mbmon/Makefile b/sysutils/mbmon/Makefile index 51ee399805dc..68d915252468 100644 --- a/sysutils/mbmon/Makefile +++ b/sysutils/mbmon/Makefile @@ -1,26 +1,24 @@ -# ports collection makefile for: xmbmon -# Date created: 2001/08/30 -# Whom: kaz +# Ports collection makefile for: xmbmon +# Date created: 2001/08/30 +# Whom: kaz@kobe1995.net (NAKAMURA Kauzushi) # # $FreeBSD$ # PORTNAME= xmbmon -PORTVERSION= 107p1 +PORTVERSION= 201 CATEGORIES= sysutils MASTER_SITES= http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/ -DISTNAME= ${PORTNAME}${PORTVERSION:S/p/pl/} +.if defined(WITHOUT_X11) +PKGNAMESUFFIX= -nox11 +.endif +DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= kaz@kobe1995.net GNU_CONFIGURE= yes -DOCS= 00README.txt 00READMEj.txt DEBUG_Info xmbmon.resources - -WITHOUT_X11?= no - -.if (${WITHOUT_X11} == yes) -MAKE_ARGS+= WITHOUT_X11=yes DOCSDIR='$(DOCSDIR)' INSTALL_DATA='$(INSTALL_DATA)' -DOCS= 00README.txt 00READMEj.txt DEBUG_Info +.if defined(WITHOUT_X11) +MAKE_ARGS+= DOCSDIR='$(DOCSDIR)' INSTALL_DATA='$(INSTALL_DATA)' PLIST_SUB= X11_ONLY="@comment " .else USE_XLIB= yes @@ -28,21 +26,12 @@ MAKE_ARGS+= DOCSDIR='$(DOCSDIR)' INSTALL_DATA='$(INSTALL_DATA)' PLIST_SUB= X11_ONLY="" .endif -.include <bsd.port.pre.mk> - -pre-extract: - @${ECHO} - @${ECHO} "set WITHOUT_X11 variable to 'yes' if you want to build without X11" - @${ECHO} - -post-patch: - @${MV} -f ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.X -.if ${WITHOUT_X11} == yes - @${GREP} -v '^PROGRAM+=' ${WRKSRC}/Makefile.in.X | ${SED} 's/__DOCS__/$(DOCS)/' > ${WRKSRC}/Makefile.in -.else - @${SED} 's/__DOCS__/$(DOCS)/' ${WRKSRC}/Makefile.in.X > ${WRKSRC}/Makefile.in -.endif - @${RM} -f ${WRKSRC}/Makefile.in.X +pre-everything:: + @${ECHO_CMD} "" + @${ECHO_CMD} "Definable build options" + @${ECHO_CMD} "-----------------------" + @${ECHO_CMD} "WITHOUT_X11 - Self explanatory" + @${ECHO_CMD} "" post-install: .if !defined(NOPORTDOCS) @@ -50,4 +39,4 @@ post-install: (cd ${WRKSRC}; ${MAKE} ${MAKE_ARGS} install-doc) .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |