aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/xdms/Makefile9
-rw-r--r--archivers/xdms/pkg-plist3
2 files changed, 7 insertions, 5 deletions
diff --git a/archivers/xdms/Makefile b/archivers/xdms/Makefile
index 45336fb895cc..c8cde9f03d36 100644
--- a/archivers/xdms/Makefile
+++ b/archivers/xdms/Makefile
@@ -10,7 +10,7 @@ PORTVERSION= 1.3.2
CATEGORIES= archivers
MASTER_SITES= http://zakalwe.fi/~shd/foss/xdms/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= scjamorim@bsd.com.br
COMMENT= An Amiga DMS archiver unpacker
USE_BZIP2= yes
@@ -18,6 +18,9 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
ALL_TARGET= xdms
+PORTDOCS= xdms.txt
+PLIST_FILES= bin/xdms
+
post-patch:
${REINPLACE_CMD} "s@-O2 -Wall@$${CFLAGS} -Wall@g" ${WRKSRC}/src/Makefile.in
@@ -25,7 +28,9 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xdms ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/xdms.txt ${DOCSDIR}
+.for docs in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/archivers/xdms/pkg-plist b/archivers/xdms/pkg-plist
deleted file mode 100644
index 925b727eff82..000000000000
--- a/archivers/xdms/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/xdms
-%%PORTDOCS%%%%DOCSDIR%%/xdms.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%