diff --git a/x11/yeahlaunch/Makefile b/x11/yeahlaunch/Makefile new file mode 100644 index 00000000000..22899b7fc85 --- /dev/null +++ b/x11/yeahlaunch/Makefile @@ -0,0 +1,36 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2007/06/04 16:39:54 ajacoutot Exp $ + +COMMENT= animated autohiding applications launcher + +DISTNAME= yeahlaunch-0.2 +CATEGORIES= x11 + +HOMEPAGE= http://phrat.de/yeahtools.html + +MAINTAINER= Scott Vokes + +# GPLv2 +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +WANTLIB= X11 c + +MASTER_SITES= http://phrat.de/ + +USE_X11= Yes +NO_REGRESS= Yes + +do-build: + ${CC} ${CFLAGS} -I${X11BASE}/include -c -o \ + ${WRKBUILD}/yeahlaunch.o ${WRKSRC}/yeahlaunch.c + ${CC} -L${X11BASE}/lib -lX11 -o \ + ${WRKBUILD}/yeahlaunch ${WRKBUILD}/yeahlaunch.o + +do-install: + ${INSTALL_PROGRAM} ${WRKBUILD}/yeahlaunch ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/yeahlaunch + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/yeahlaunch/ + +.include diff --git a/x11/yeahlaunch/distinfo b/x11/yeahlaunch/distinfo new file mode 100644 index 00000000000..8ea7d090871 --- /dev/null +++ b/x11/yeahlaunch/distinfo @@ -0,0 +1,5 @@ +MD5 (yeahlaunch-0.2.tar.gz) = F1GbiST9sfrBRV40o/FTng== +RMD160 (yeahlaunch-0.2.tar.gz) = t889khhJEK46+mEeMtIa1IYOX1o= +SHA1 (yeahlaunch-0.2.tar.gz) = pYeQvmObSPgesZ1cXrEtxm8inq8= +SHA256 (yeahlaunch-0.2.tar.gz) = 4OveLj6DPN+BGXYvmtmBdMPsCP0iDTFi7yqwV0W4cx4= +SIZE (yeahlaunch-0.2.tar.gz) = 10355 diff --git a/x11/yeahlaunch/patches/patch-yeahlaunch_c b/x11/yeahlaunch/patches/patch-yeahlaunch_c new file mode 100644 index 00000000000..7f6538372d1 --- /dev/null +++ b/x11/yeahlaunch/patches/patch-yeahlaunch_c @@ -0,0 +1,14 @@ +$OpenBSD: patch-yeahlaunch_c,v 1.1.1.1 2007/06/04 16:39:54 ajacoutot Exp $ +--- yeahlaunch.c.orig Mon Jun 4 17:44:48 2007 ++++ yeahlaunch.c Mon Jun 4 17:44:55 2007 +@@ -104,6 +104,10 @@ int main(int argc, char *argv[]) + + } + font = XLoadQueryFont(dpy, opt_font); ++ if (font == NULL) { ++ fprintf(stderr, "Font does not exist! exiting...\n"); ++ exit(1); ++ } + height = font-> /* max_bounds. */ ascent + font-> /* max_bounds. */ descent + 3; + XAllocNamedColor(dpy, DefaultColormap(dpy, screen), opt_fg, &fg, &dummy); + XAllocNamedColor(dpy, DefaultColormap(dpy, screen), opt_afg, &afg, &dummy); diff --git a/x11/yeahlaunch/pkg/DESCR b/x11/yeahlaunch/pkg/DESCR new file mode 100644 index 00000000000..de8f86dd1d4 --- /dev/null +++ b/x11/yeahlaunch/pkg/DESCR @@ -0,0 +1,2 @@ +YeahLaunch is a simple animated autohiding menu for launching +applications. diff --git a/x11/yeahlaunch/pkg/PLIST b/x11/yeahlaunch/pkg/PLIST new file mode 100644 index 00000000000..5d0cfecf616 --- /dev/null +++ b/x11/yeahlaunch/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2007/06/04 16:39:54 ajacoutot Exp $ +bin/yeahlaunch +share/doc/yeahlaunch/ +share/doc/yeahlaunch/README