aboutsummaryrefslogtreecommitdiff
path: root/x11/wmappl/Makefile
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-03-08 05:20:55 +0000
committerPatrick Li <pat@FreeBSD.org>2002-03-08 05:20:55 +0000
commitc24876afe207814915be00a8a42f0181bbbcf3ca (patch)
tree4855a502702ecf8a92ec384ff7da7d44ebd332f3 /x11/wmappl/Makefile
parent9c19fde058aee9e9c06047a4cc2e39baf369b275 (diff)
downloadports-c24876afe207814915be00a8a42f0181bbbcf3ca.tar.gz
ports-c24876afe207814915be00a8a42f0181bbbcf3ca.zip
Add new port x11/wmappl - An application launcher dockapp similar to
wmbutton PR: 35513 Submitted by: oleg dashevskii <od@iclub.nsu.ru>
Notes
Notes: svn path=/head/; revision=55706
Diffstat (limited to 'x11/wmappl/Makefile')
-rw-r--r--x11/wmappl/Makefile61
1 files changed, 61 insertions, 0 deletions
diff --git a/x11/wmappl/Makefile b/x11/wmappl/Makefile
new file mode 100644
index 000000000000..49176be0d52a
--- /dev/null
+++ b/x11/wmappl/Makefile
@@ -0,0 +1,61 @@
+# New ports collection makefile for: wmappl
+# Date created: 3 March 2002
+# Whom: od <od@iclub.nsu.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wmappl
+PORTVERSION= 0.6
+CATEGORIES= x11 windowmaker
+MASTER_SITES= http://www.upl.cs.wisc.edu/~charkins/wmappl/
+.ifndef(NOICONS)
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${ICONSDIST}
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+.endif
+
+MAINTAINER= od@iclub.nsu.ru
+
+LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+
+USE_X_PREFIX= yes
+USE_XPM= yes
+MAKE_ENV= DATADIR="${DATADIR}"
+ICONSDIST= 16x16xpms.tar.gz icons_16x16.tar.gz smallicons.tar.gz
+.ifndef(NOICONS)
+PLIST_SUB= ICONS=""
+.else
+PLIST_SUB= ICONS="@comment "
+.endif
+
+.ifndef(NOICONS)
+post-extract:
+ @${ECHO_MSG} "===> Extracting icons ..."
+.for icons in ${ICONSDIST}
+ @${ECHO_MSG} "===> ${icons} ..."
+ @${TAR} -C ${WRKSRC}/icons -xzf ${DISTDIR}/${icons}
+.endfor
+ @${MV} ${WRKSRC}/icons/smallicons/* ${WRKSRC}/icons
+.endif
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/wmappl ${PREFIX}/bin
+
+post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/sample.wmapplrc ${EXAMPLESDIR}
+.ifndef(NOICONS)
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} "===> Installing icons to ${DATADIR} directory"
+ @${MKDIR} ${DATADIR}
+ @${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${DATADIR}
+.endif
+.ifndef(NOPORTDOCS)
+ @${ECHO_CMD} "===> Installing README as ${DOCSDIR}/README"
+ @${ECHO_CMD} "===> Please read for configuration information"
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+ @${SED} -E 's|%%EXAMPLESDIR%%|${EXAMPLESDIR}|' ${PKGMESSAGE}
+
+.include <bsd.port.mk>