# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # sterm # sterm/files # sterm/files/patch-Makefile # sterm/files/patch-config.mk # sterm/pkg-descr # sterm/Makefile # sterm/distinfo # echo c - sterm mkdir -p sterm > /dev/null 2>&1 echo c - sterm/files mkdir -p sterm/files > /dev/null 2>&1 echo x - sterm/files/patch-Makefile sed 's/^X//' >sterm/files/patch-Makefile << '4a49bfe563019d7b359969f790f894aa' X--- Makefile.orig 2011-04-06 14:22:13.614498469 +0200 X+++ Makefile 2011-04-06 14:23:02.470588628 +0200 X@@ -48,7 +48,7 @@ X @mkdir -p ${DESTDIR}${MANPREFIX}/man1 X @sed "s/VERSION/${VERSION}/g" < st.1 > ${DESTDIR}${MANPREFIX}/man1/st.1 X @chmod 644 ${DESTDIR}${MANPREFIX}/man1/st.1 X- @tic -s st.info X+ @tic -s -o ${LOCALBASE}/share/misc st.info X X uninstall: X @echo removing executable file from ${DESTDIR}${PREFIX}/bin 4a49bfe563019d7b359969f790f894aa echo x - sterm/files/patch-config.mk sed 's/^X//' >sterm/files/patch-config.mk << 'cda455313858b80079037360dfee522f' X--- config.mk.orig 2011-01-23 12:30:01.000000000 +0100 X+++ config.mk 2011-04-06 14:25:05.291720015 +0200 X@@ -5,6 +5,7 @@ X X # paths X PREFIX = /usr/local X+LOCALBASE= /usr/local X MANPREFIX = ${PREFIX}/share/man X X X11INC = /usr/X11R6/include X@@ -16,8 +17,8 @@ X X # flags X CPPFLAGS = -DVERSION=\"${VERSION}\" X-CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} X-LDFLAGS += -s ${LIBS} X+CFLAGS += -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS} X+LDFLAGS += ${LIBS} X X # compiler and linker X CC ?= cc cda455313858b80079037360dfee522f echo x - sterm/pkg-descr sed 's/^X//' >sterm/pkg-descr << 'ab7f2a80cb61d5c0306fad631661dd53' Xst is a minimalistic X terminal. X XIt consists of a single binary, configuration is done at compile-time by a Xconfig.h file. X XWWW: http://st.suckless.org ab7f2a80cb61d5c0306fad631661dd53 echo x - sterm/Makefile sed 's/^X//' >sterm/Makefile << 'c351845e5971847029505ca53e4a3b8c' X# New ports collection makefile for: sterm X# Date created: April 01, 2011 X# Whom: Matthew Donovan X# X# $FreeBSD$ X# X XPORTNAME= sterm XPORTVERSION= 0.0.20110401 XCATEGORIES= x11 XMASTER_SITES= http://kitchetech.com/port/distfile/ \ X LOCAL/martymac X XMAINTAINER= kitchetech@gmail.com XCOMMENT= A simple X terminal X XRUN_DEPENDS= ${LOCALBASE}/share/misc/terminfo.db:${PORTSDIR}/devel/ncurses X XLICENSE= BSD XLICENSE_FILE= ${WRKSRC}/LICENSE X XUSE_XORG= x11 X XMAN1= st.1 XPLIST_FILES= bin/st X XPORTDOCS= README X Xpre-everything:: X @${ECHO_MSG} "You can build st with your own config.h using the ST_CONF knob:" X @${ECHO_MSG} "make ST_CONF=/path/to/st/config.h install clean" X Xpost-patch: X.if defined(ST_CONF) X @${ECHO_MSG} "creating config.h from ${ST_CONF}" X @${CP} ${ST_CONF} ${WRKSRC}/config.h X.endif X @${REINPLACE_CMD} -e 's|^VERSION = .*|VERSION = ${PORTVERSION}|' \ X -e 's|^PREFIX = .*|PREFIX = ${PREFIX}|' \ X -e 's|^LOCALBASE = .*|LOCALBASE = ${LOCALBASE}|' \ X -e "s|^MANPREFIX = .*|MANPREFIX = ${MANPREFIX}/man|" \ X -e "s|^X11INC = .*|X11INC = ${LOCALBASE}/include|" \ X -e "s|^X11LIB = .*|X11LIB = ${LOCALBASE}/lib|" \ X ${WRKSRC}/config.mk X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for doc in ${PORTDOCS} X ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} X.endfor X.endif X X.include c351845e5971847029505ca53e4a3b8c echo x - sterm/distinfo sed 's/^X//' >sterm/distinfo << '44613be347f34c70fe637c0bfa6d00ad' XSHA256 (sterm-0.0.20110401.tar.gz) = 966a9f30b5112b5f30a17ab2016947b2027f892aa19e486ca7d96ebab1cc8863 XSIZE (sterm-0.0.20110401.tar.gz) = 17303 44613be347f34c70fe637c0bfa6d00ad exit