2011-04-01 12:46:33 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2011/04/01 16:46:33 jasper Exp $
|
2004-06-28 02:38:35 -04:00
|
|
|
|
2011-04-01 12:46:33 -04:00
|
|
|
DISTNAME= ratmen-2.2.3
|
2004-06-28 02:38:35 -04:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
|
|
|
# same license as plan9/9menu
|
|
|
|
PERMIT_PACKAGE_CDROM= yes
|
|
|
|
PERMIT_PACKAGE_FTP= yes
|
|
|
|
PERMIT_DISTFILES_CDROM= yes
|
|
|
|
PERMIT_DISTFILES_FTP= yes
|
2004-12-19 12:36:31 -05:00
|
|
|
WANTLIB= X11 c
|
2004-06-28 02:38:35 -04:00
|
|
|
|
2007-09-15 16:04:18 -04:00
|
|
|
COMMENT= launch commands with your keyboard
|
2004-06-28 02:38:35 -04:00
|
|
|
MASTER_SITES= http://www.update.uu.se/~zrajm/programs/ratmen/
|
|
|
|
|
2006-11-13 08:01:37 -05:00
|
|
|
NO_REGRESS= Yes
|
2004-06-28 02:38:35 -04:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd $(WRKSRC) && \
|
|
|
|
$(CC) -o ratmen -lX11 -L$(X11BASE)/lib -I$(X11BASE)/include ratmen.c && \
|
|
|
|
pod2man ratmen.c > ratmen.1
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
$(INSTALL_PROGRAM) $(WRKSRC)/ratmen $(PREFIX)/bin/
|
|
|
|
$(INSTALL_MAN) $(WRKSRC)/ratmen.1 $(PREFIX)/man/man1/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|