diff options
Diffstat (limited to 'graphics/mxp')
-rw-r--r-- | graphics/mxp/Makefile | 28 | ||||
-rw-r--r-- | graphics/mxp/pkg-plist | 3 |
2 files changed, 15 insertions, 16 deletions
diff --git a/graphics/mxp/Makefile b/graphics/mxp/Makefile index fa623874ed92..042d6ee4881f 100644 --- a/graphics/mxp/Makefile +++ b/graphics/mxp/Makefile @@ -1,15 +1,11 @@ -# New ports collection makefile for: mxp -# Date Created: 18 March 2004 -# Whom: NAKATA Maho <maho@FreeBSD.org> -# +# Created by: NAKATA Maho <maho@FreeBSD.org> # $FreeBSD$ -# PORTNAME= mxp PORTVERSION= 1.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics -MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITES= SUNSITE MASTER_SITE_SUBDIR=apps/math/fractals MAINTAINER= maho@FreeBSD.org @@ -20,17 +16,23 @@ ALL_TARGET= USE_XORG= xaw xbitmaps xpm MAKE_JOBS_UNSAFE= yes +PLIST_FILES= bin/${PORTNAME} \ + %%PORTDOCS%%%%DOCSDIR%%/README +PLIST_DIRS= %%PORTDOCS%%%%DOCSDIR%% + +.include <bsd.port.options.mk> + post-extract: @${CP} ${WRKSRC}/Makefile.noimake ${WRKSRC}/Makefile post-patch: - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \ - s|%%LOCALBASE%%|${LOCALBASE}|g ; \ - s|%%CFLAGS%%|${CFLAGS}|g ; \ + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g; \ + s|%%LOCALBASE%%|${LOCALBASE}|g; \ + s|%%CFLAGS%%|${CFLAGS}|g; \ s|%%CC%%|${CC}|g' ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mxp ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif diff --git a/graphics/mxp/pkg-plist b/graphics/mxp/pkg-plist index 88a0c6045a08..e69de29bb2d1 100644 --- a/graphics/mxp/pkg-plist +++ b/graphics/mxp/pkg-plist @@ -1,3 +0,0 @@ -bin/mxp -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%% |