- fixup Makefile
- remove FreeBSD-ism - mkdir -> ${INSTALL_DATA_DIR} - make -> ${MAKE_PROGRAM}
This commit is contained in:
parent
704d5f0e4b
commit
56e7a947a9
@ -1,22 +1,14 @@
|
||||
# OpenBSD makefile for: magicpoint
|
||||
# Version required: 1.07a
|
||||
# Date created: July 13 1999
|
||||
# Whom: Angelos D. Keromytis
|
||||
#
|
||||
# $Id: Makefile,v 1.14 2000/10/22 15:42:47 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.14 2000/10/22 15:42:47 espie Exp $
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.15 2001/03/07 22:34:45 brad Exp $
|
||||
|
||||
DISTNAME= magicpoint-1.07a
|
||||
# question is for localized (i.e. Japanese) version
|
||||
PKGNAME?= magicpoint-1.07a
|
||||
CATEGORIES= misc productivity
|
||||
NEED_VERSION= 1.305
|
||||
NEED_VERSION= 1.336
|
||||
MASTER_SITES= ftp://ftp.mew.org/pub/MagicPoint/
|
||||
|
||||
MAINTAINER= ports@openbsd.org
|
||||
|
||||
LICENSE_TYPE= BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
@ -30,10 +22,11 @@ CONFIGURE_STYLE=imake gnu
|
||||
CONFIGURE_ARGS= --disable-vflib
|
||||
|
||||
post-configure:
|
||||
cd ${WRKSRC}/contrib/xmindpath; ./configure --prefix='$${DESTDIR}${PREFIX}'
|
||||
@cd ${WRKSRC}/contrib/xmindpath && \
|
||||
./configure --prefix='$${DESTDIR}${PREFIX}'
|
||||
|
||||
post-build:
|
||||
cd ${WRKSRC}/contrib/xmindpath; make
|
||||
@cd ${WRKSRC}/contrib/xmindpath && ${MAKE_PROGRAM}
|
||||
|
||||
MAN1= mgp.1 mgp2ps.1 mgpembed.1 mgpnet.1 xwintoppm.1 xmindpath.1
|
||||
|
||||
@ -53,16 +46,13 @@ SAMPLES= README README.jp cloud.jpg dad.eps dad.jpg default.mgp \
|
||||
|
||||
# NOTE: there are some discussions/twists in gzip'ing xmindpath.1.
|
||||
post-install:
|
||||
(cd ${WRKSRC}/contrib/xmindpath; make install)
|
||||
.if !defined(NOPORTDOCS)
|
||||
mkdir -p ${PREFIX}/share/doc/mgp
|
||||
for i in $(DOCS); do \
|
||||
${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/mgp; \
|
||||
@cd ${WRKSRC}/contrib/xmindpath && ${MAKE_PROGRAM} install
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mgp/sample
|
||||
@for i in $(DOCS); do \
|
||||
${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/mgp; \
|
||||
done
|
||||
mkdir -p ${PREFIX}/share/doc/mgp/sample
|
||||
for i in $(SAMPLES); do \
|
||||
${INSTALL_DATA} ${WRKSRC}/sample/$$i ${PREFIX}/share/doc/mgp/sample; \
|
||||
@for i in $(SAMPLES); do \
|
||||
${INSTALL_DATA} ${WRKSRC}/sample/$$i ${PREFIX}/share/doc/mgp/sample; \
|
||||
done
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user