openbsd-ports/x11/st/patches/patch-Makefile
zinke bdf69da526 Update st to version 0.3
From the suckless announcement, the biggest changes are:
        * New drawing code, which is way more faster and comparable to the
          other terminals out there.
        * Many new escape sequences are supported:
                * setting the title
                * LNM, KAM, SI, SO, SUB, CAN, DA, DECID. OSC, DSC, PM, APC,
                  CHT, HTS, CBT, SM, RM, standout mode ???  (See st.info.)
        * Linedrawing is now supported
        * Xft and Fontcache is now used to draw fonts.
        * support for italic and bold italic font drawing
        * Some more commandline parameters are available. (See manpage.)
                * easy debugging with: st -o - | cat -v
        * nyancat(1) works.
        * external support of utmp entries by using utmp(1)

ok gonzalo@
2012-11-05 13:24:39 +00:00

46 lines
1.4 KiB
Plaintext

$OpenBSD: patch-Makefile,v 1.2 2012/11/05 13:24:39 zinke Exp $
--- Makefile.orig Fri Nov 2 20:08:27 2012
+++ Makefile Sun Nov 4 16:32:45 2012
@@ -18,14 +18,12 @@ config.h:
cp config.def.h config.h
.c.o:
- @echo CC $<
- @${CC} -c ${CFLAGS} $<
+ ${CC} -c ${CFLAGS} $<
${OBJ}: config.h config.mk
st: ${OBJ}
- @echo CC -o $@
- @${CC} -o $@ ${OBJ} ${LDFLAGS}
+ ${CC} -o $@ ${OBJ} ${LDFLAGS}
clean:
@echo cleaning
@@ -40,17 +38,13 @@ dist: clean
@rm -rf st-${VERSION}
install: all
- @echo installing executable file to ${DESTDIR}${PREFIX}/bin
- @mkdir -p ${DESTDIR}${PREFIX}/bin
- @cp -f st ${DESTDIR}${PREFIX}/bin
- @chmod 755 ${DESTDIR}${PREFIX}/bin/st
- @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
- @mkdir -p ${DESTDIR}${MANPREFIX}/man1
- @sed "s/VERSION/${VERSION}/g" < st.1 > ${DESTDIR}${MANPREFIX}/man1/st.1
- @chmod 644 ${DESTDIR}${MANPREFIX}/man1/st.1
- @echo If things do not seem to work, be sure that there is no \
- floating st terminfo in the .terminfo directory in your home dir.
- @tic -s st.info
+ ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
+ ${BSD_INSTALL_PROGRAM} st ${DESTDIR}${PREFIX}/bin
+ ${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANPREFIX}/man1
+ sed "s/VERSION/${VERSION}/g" < st.1 > st.1.tmp
+ mv st.1.tmp st.1
+ ${BSD_INSTALL_MAN} st.1 ${DESTDIR}${MANPREFIX}/man1
+ tic -s -o ${DESTDIR}${PREFIX}/share/terminfo st.info
uninstall:
@echo removing executable file from ${DESTDIR}${PREFIX}/bin