openbsd-ports/x11/dzen2/patches/patch-Makefile
merdely 5a8e0396b8 Dzen is a general purpose messaging, notification and menu program
for X11. It was desigend to be scriptable in any language and
integrate well with window managers like dwm, wmii and xmonad though
it will work with any windowmanger.

From Dmitri Alenitchev <dma () dma dot org dot ru> (MAINTAINER) with
tweaks and help from kili@ and simon@.

ok kili@, simon@
2007-09-06 19:46:01 +00:00

35 lines
910 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2007/09/06 19:46:01 merdely Exp $
--- Makefile.orig Wed Aug 1 21:16:45 2007
+++ Makefile Sun Aug 26 22:42:38 2007
@@ -16,15 +16,12 @@ options:
@echo "LD = ${LD}"
.c.o:
- @echo CC $<
- @${CC} -c ${CFLAGS} $<
+ ${CC} -c ${CFLAGS} $<
${OBJ}: dzen.h action.h config.mk
dzen2: ${OBJ}
- @echo LD $@
- @${LD} -o $@ ${OBJ} ${LDFLAGS}
- @strip $@
+ ${LD} -o $@ ${OBJ} ${LDFLAGS}
@echo "Run ./help for documentation"
clean:
@@ -44,10 +41,8 @@ dist: clean
@rm -rf dzen2-${VERSION}
install: all
- @echo installing executable file to ${DESTDIR}${PREFIX}/bin
- @mkdir -p ${DESTDIR}${PREFIX}/bin
- @cp -f dzen2 ${DESTDIR}${PREFIX}/bin
- @chmod 755 ${DESTDIR}${PREFIX}/bin/dzen2
+ ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
+ ${BSD_INSTALL_PROGRAM} dzen2 ${DESTDIR}${PREFIX}/bin
uninstall:
@echo removing executable file from ${DESTDIR}${PREFIX}/bin