Skip to content

Commit

Permalink
devel/dev86: Moved man to share/man
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Feb 23, 2024
1 parent 27d38ae commit 4b71677
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions devel/dev86/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= dev86
PORTVERSION= 0.16.20
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://v3.sk/~lkundrak/dev86/archive/ \
http://tmp.chruetertee.ch/ \
Expand All @@ -16,6 +17,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
DESTDIRNAME= DIST

post-patch:
@${REINPLACE_CMD} -e 's|^MANDIR=.*|MANDIR=${PREFIX}/share/man|' \
${WRKSRC}/Makefile
# Respect CFLAGS in Makefiles.
@${GREP} -Rl 'CFLAGS=' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -i "" \
-Ee "s|CFLAGS='|&${CFLAGS} |; s|^(CFLAGS=)([^'])|\1${CFLAGS} \2|"
Expand Down
10 changes: 5 additions & 5 deletions devel/dev86/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ lib/bcc/rules.i
lib/bcc/rules.net
lib/bcc/rules.start
lib/bcc/unproto
man/man1/as86.1.gz
man/man1/bcc.1.gz
man/man1/elks.1.gz
man/man1/elksemu.1.gz
man/man1/ld86.1.gz
share/man/man1/as86.1.gz
share/man/man1/bcc.1.gz
share/man/man1/elks.1.gz
share/man/man1/elksemu.1.gz
share/man/man1/ld86.1.gz

0 comments on commit 4b71677

Please sign in to comment.