summaryrefslogtreecommitdiff
path: root/converters/uulib/Makefile
blob: 9fcbbc56f8c4dab303840efcc541c81fcdf6ee0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# $NetBSD: Makefile,v 1.21 2002/03/24 03:11:06 fredb Exp $
#

DISTNAME=       uudeview-0.5.17
PKGNAME=        uulib-0.5.17
CATEGORIES=	converters
MASTER_SITES=	http://www.fpx.de/fp/Software/UUDeview/download/

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://www.fpx.de/fp/Software/UUDeview/
COMMENT=	Library for uu/xx/Base64/BinHex de-/encoding

# "kdesupport-2.1b" included "uu" library.
CONFLICTS=	kdesupport-2.1b

USE_BUILDLINK_ONLY=	# defined
GNU_CONFIGURE=	# defined
USE_LIBTOOL=	# defined

ALL_TARGET=	libuu.la

WRKSRC=		${WRKDIR}/${DISTNAME}/uulib

DOCFILES=	HISTORY doc/Makefile doc/README doc/binhex.fig \
		doc/library.ltx doc/structure.fig doc/td-v1.c doc/td-v2.c \
		doc/td-v3.c doc/test.txt

.include "../../mk/bsd.prefs.mk"

do-install:
	${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/libuu.la ${PREFIX}/lib
	${INSTALL_DATA} ${WRKSRC}/uudeview.h ${PREFIX}/include/uu.h
	${SED} -e 's|FUNKYTOKENHERE|${PREFIX}|g' \
		< ${FILESDIR}/uulib.3 > ${WRKSRC}/uulib.3
	${INSTALL_MAN} ${WRKSRC}/uulib.3 ${PREFIX}/man/man3
	@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uulib
.for docfile in ${DOCFILES}
	@${INSTALL_MAN} ${WRKSRC}/../${docfile} ${PREFIX}/share/doc/uulib
.endfor

.include "../../mk/bsd.pkg.mk"