View | Details | Raw Unified | Return to bug 150125
Collapse All | Expand All

(-)/usr/ports/irc/ii/Makefile (-7 / +10 lines)
Lines 14-37 Link Here
14
MAINTAINER=	kimelto@gmail.com
14
MAINTAINER=	kimelto@gmail.com
15
COMMENT=	A minimalist FIFO and filesystem-based IRC client
15
COMMENT=	A minimalist FIFO and filesystem-based IRC client
16
16
17
LICENSE=	MIT
18
17
MAN1=	ii.1
19
MAN1=	ii.1
18
PLIST_FILES=	bin/ii
20
PLIST_FILES=	bin/ii
19
PORTDOCS=	CHANGES README FAQ LICENSE
21
PORTDOCS=	CHANGES README FAQ
20
PORTEXAMPLES=	query.sh
22
PORTEXAMPLES=	query.sh
21
23
22
post-install:
24
do-install:
25
	@${INSTALL_PROGRAM} ${WRKSRC}/ii ${PREFIX}/bin
26
	@${INSTALL_MAN} ${WRKSRC}/ii.1 ${MAN1PREFIX}/man/man1
23
.if !defined(NOPORTDOCS)
27
.if !defined(NOPORTDOCS)
24
	@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
28
	@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
25
	@${MKDIR} ${DOCSDIR}
29
	@${MKDIR} ${DOCSDIR}
26
	@${INSTALL_MAN} ${WRKSRC}/CHANGES ${DOCSDIR}
30
.for DOCFILE in ${PORTDOCS}
27
	@${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
31
	@${INSTALL_DATA} ${WRKSRC}/${DOCFILE} ${DOCSDIR}
28
	@${INSTALL_MAN} ${WRKSRC}/FAQ ${DOCSDIR}
32
.endfor
29
	@${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}
30
.endif
33
.endif
31
.if !defined(NOPORTEXAMPLES)
34
.if !defined(NOPORTEXAMPLES)
32
	@${ECHO_MSG} "installing additional examples to ${EXAMPLESDIR}"
35
	@${ECHO_MSG} "installing additional examples to ${EXAMPLESDIR}"
33
	@${MKDIR} ${EXAMPLESDIR}
36
	@${MKDIR} ${EXAMPLESDIR}
34
	@${INSTALL_MAN} ${WRKSRC}/query.sh ${EXAMPLESDIR}
37
	@${INSTALL_DATA} ${WRKSRC}/query.sh ${EXAMPLESDIR}
35
.endif
38
.endif
36
39
37
.include <bsd.port.mk>
40
.include <bsd.port.mk>
(-)/usr/ports/irc/ii/files/patch-Makefile (-15 lines)
Lines 1-15 Link Here
1
--- Makefile.orig	2007-07-14 20:39:41.000000000 +0200
2
+++ Makefile	2008-07-17 21:27:32.000000000 +0200
3
@@ -35,12 +35,10 @@
4
 	@${CC} -o $@ ${OBJ} ${LDFLAGS}
5
 
6
 install: all
7
-	@mkdir -p ${DESTDIR}${DOCDIR}
8
 	@mkdir -p ${DESTDIR}${BINDIR}
9
 	@mkdir -p ${DESTDIR}${MAN1DIR}
10
 
11
 	@install -d ${DESTDIR}${BINDIR} ${DESTDIR}${MAN1DIR}
12
-	@install -m 644 CHANGES README query.sh FAQ LICENSE ${DESTDIR}${DOCDIR}
13
 	@install -m 775 ii ${DESTDIR}${BINDIR}
14
 	@install -m 444 ii.1 ${DESTDIR}${MAN1DIR}
15
 	@echo "installed ii"
(-)/usr/ports/irc/ii/files/patch-config.mk (-24 lines)
Lines 1-24 Link Here
1
--- config.mk.orig	2007-07-14 20:39:41.000000000 +0200
2
+++ config.mk	2008-07-13 15:38:45.000000000 +0200
3
@@ -1,9 +1,9 @@
4
 # Customize to fit your system
5
 
6
 # paths
7
-PREFIX      = /usr/local
8
+PREFIX     ?= /usr/local
9
 BINDIR      = ${PREFIX}/bin
10
-MANDIR      = ${PREFIX}/share/man
11
+MANDIR      = ${PREFIX}/man
12
 MAN1DIR     = ${MANDIR}/man1
13
 DOCDIR      = ${PREFIX}/share/doc/ii
14
 
15
@@ -22,6 +22,6 @@
16
 #CFLAGS      = -g ${INCLUDES} -DVERSION=\"${VERSION}\"
17
 
18
 # compiler
19
-CC          = cc
20
-CFLAGS      = -g -O0 -W -Wall ${INCLUDES} -DVERSION=\"${VERSION}\"
21
-LDFLAGS     = ${LIBS}
22
+CC         ?= cc
23
+CFLAGS     += -g -O0 -W -Wall ${INCLUDES} -DVERSION=\"${VERSION}\"
24
+LDFLAGS    += ${LIBS}
(-)/usr/ports/irc/ii/pkg-descr (-1 / +1 lines)
Lines 6-9 Link Here
6
are related in and out files created. This allows IRC communication from
6
are related in and out files created. This allows IRC communication from
7
command line and adheres to the Unix philosophy.
7
command line and adheres to the Unix philosophy.
8
8
9
WWW: http://www.suckless.org/programs/ii.html
9
WWW:	http://tools.suckless.org/ii/

Return to bug 150125